Node.js
v8.x
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine
|
Data Structures | |
struct | http2_state |
Functions | |
void | HttpErrorString (const FunctionCallbackInfo< Value > &args) |
void | PackSettings (const FunctionCallbackInfo< Value > &args) |
void | RefreshDefaultSettings (const FunctionCallbackInfo< Value > &args) |
template<get_setting fn> | |
void | RefreshSettings (const FunctionCallbackInfo< Value > &args) |
void | RefreshSessionState (const FunctionCallbackInfo< Value > &args) |
void | RefreshStreamState (const FunctionCallbackInfo< Value > &args) |
void | FreeDataChunk (char *data, void *hint) |
void | Initialize (Local< Object > target, Local< Value > unused, Local< Context > context, void *priv) |
Variables | |
Freelist< nghttp2_data_chunk_t, FREELIST_MAX > | data_chunk_free_list |
Freelist< Nghttp2Stream, FREELIST_MAX > | stream_free_list |
Freelist< nghttp2_header_list, FREELIST_MAX > | header_free_list |
Freelist< nghttp2_data_chunks_t, FREELIST_MAX > | data_chunks_free_list |
enum Http2OptionsIndex |
Definition at line 53 of file node_http2.cc.
Enumerator | |
---|---|
PADDING_BUF_FRAME_LENGTH | |
PADDING_BUF_MAX_PAYLOAD_LENGTH | |
PADDING_BUF_RETURN_VALUE | |
PADDING_BUF_FIELD_COUNT |
Definition at line 62 of file node_http2.cc.
Definition at line 30 of file node_http2.cc.
enum Http2SettingsIndex |
Definition at line 20 of file node_http2.cc.
Definition at line 43 of file node_http2.cc.
void node::http2::FreeDataChunk | ( | char * | data, |
void * | hint | ||
) |
Definition at line 948 of file node_http2.cc.
References buf, node::Buffer::Copy(), ctx, data, data_chunk_free_list, len, node::MakeCallback(), and node::Buffer::New().
void node::http2::HttpErrorString | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 176 of file node_http2.cc.
Referenced by Initialize().
void node::http2::Initialize | ( | Local< Object > | target, |
Local< Value > | unused, | ||
Local< Context > | context, | ||
void * | priv | ||
) |
Definition at line 1172 of file node_http2.cc.
References HttpErrorString(), node::Buffer::New(), NODE_DEFINE_CONSTANT, NODE_DEFINE_HIDDEN_CONSTANT, NODE_MODULE_CONTEXT_AWARE_BUILTIN(), http2_state::options_buffer, PackSettings(), PADDING_BUF_FRAME_LENGTH, PADDING_BUF_MAX_PAYLOAD_LENGTH, PADDING_BUF_RETURN_VALUE, http2_state::padding_buffer, RefreshDefaultSettings(), RefreshSessionState(), RefreshStreamState(), http2_state::session_state_buffer, SET_STATE_TYPEDARRAY, http2_state::settings_buffer, http2_state::stream_state_buffer, STRING_CONSTANT, and V.
Referenced by node::AddressToJS(), node::EmitAsyncDestroy(), node::crypto::EntropySource(), PromiseWrap::GetParentId(), node::crypto::InitCrypto(), node::InitFs(), node::Buffer::New(), node::loader::Resolve(), and node::crypto::VerifyCallback().
void node::http2::PackSettings | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 186 of file node_http2.cc.
References buf, node::Buffer::Copy(), IDX_SETTINGS_COUNT, IDX_SETTINGS_ENABLE_PUSH, IDX_SETTINGS_HEADER_TABLE_SIZE, IDX_SETTINGS_INITIAL_WINDOW_SIZE, IDX_SETTINGS_MAX_CONCURRENT_STREAMS, IDX_SETTINGS_MAX_FRAME_SIZE, IDX_SETTINGS_MAX_HEADER_LIST_SIZE, and len.
Referenced by Initialize().
void node::http2::RefreshDefaultSettings | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 250 of file node_http2.cc.
References IDX_SETTINGS_COUNT, IDX_SETTINGS_ENABLE_PUSH, IDX_SETTINGS_HEADER_TABLE_SIZE, IDX_SETTINGS_INITIAL_WINDOW_SIZE, and IDX_SETTINGS_MAX_FRAME_SIZE.
Referenced by Initialize().
void node::http2::RefreshSessionState | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 295 of file node_http2.cc.
References IDX_SESSION_STATE_EFFECTIVE_LOCAL_WINDOW_SIZE, IDX_SESSION_STATE_EFFECTIVE_RECV_DATA_LENGTH, IDX_SESSION_STATE_HD_DEFLATE_DYNAMIC_TABLE_SIZE, IDX_SESSION_STATE_HD_INFLATE_DYNAMIC_TABLE_SIZE, IDX_SESSION_STATE_LAST_PROC_STREAM_ID, IDX_SESSION_STATE_LOCAL_WINDOW_SIZE, IDX_SESSION_STATE_NEXT_STREAM_ID, IDX_SESSION_STATE_OUTBOUND_QUEUE_SIZE, IDX_SESSION_STATE_REMOTE_WINDOW_SIZE, and s.
Referenced by Initialize().
void node::http2::RefreshSettings | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 270 of file node_http2.cc.
References IDX_SETTINGS_ENABLE_PUSH, IDX_SETTINGS_HEADER_TABLE_SIZE, IDX_SETTINGS_INITIAL_WINDOW_SIZE, IDX_SETTINGS_MAX_CONCURRENT_STREAMS, IDX_SETTINGS_MAX_FRAME_SIZE, IDX_SETTINGS_MAX_HEADER_LIST_SIZE, and s.
void node::http2::RefreshStreamState | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 325 of file node_http2.cc.
References buf, data, IDX_SETTINGS_COUNT, IDX_SETTINGS_ENABLE_PUSH, IDX_SETTINGS_HEADER_TABLE_SIZE, IDX_SETTINGS_INITIAL_WINDOW_SIZE, IDX_SETTINGS_MAX_CONCURRENT_STREAMS, IDX_SETTINGS_MAX_FRAME_SIZE, IDX_SETTINGS_MAX_HEADER_LIST_SIZE, IDX_STREAM_STATE, IDX_STREAM_STATE_LOCAL_CLOSE, IDX_STREAM_STATE_LOCAL_WINDOW_SIZE, IDX_STREAM_STATE_REMOTE_CLOSE, IDX_STREAM_STATE_SUM_DEPENDENCY_WEIGHT, IDX_STREAM_STATE_WEIGHT, node::Buffer::New(), req, s, status, and wrap.
Referenced by Initialize().
Freelist<nghttp2_data_chunk_t, FREELIST_MAX> data_chunk_free_list |
Definition at line 79 of file node_http2.cc.
Referenced by FreeDataChunk().
Freelist<nghttp2_data_chunks_t, FREELIST_MAX> data_chunks_free_list |
Definition at line 86 of file node_http2.cc.
Freelist<nghttp2_header_list, FREELIST_MAX> header_free_list |
Definition at line 83 of file node_http2.cc.
Freelist<Nghttp2Stream, FREELIST_MAX> stream_free_list |
Definition at line 81 of file node_http2.cc.