GRPC Core  9.0.0
Functions | Variables
chttp2_transport.h File Reference
#include <grpc/support/port_platform.h>
#include "src/core/lib/channel/channelz.h"
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/iomgr/endpoint.h"
#include "src/core/lib/transport/transport.h"

Go to the source code of this file.

Functions

grpc_transportgrpc_create_chttp2_transport (const grpc_channel_args *channel_args, grpc_endpoint *ep, bool is_client, grpc_resource_user *resource_user=nullptr)
 
grpc_core::RefCountedPtr< grpc_core::channelz::SocketNodegrpc_chttp2_transport_get_socket_node (grpc_transport *transport)
 
void grpc_chttp2_transport_start_reading (grpc_transport *transport, grpc_slice_buffer *read_buffer, grpc_closure *notify_on_receive_settings)
 Takes ownership of read_buffer, which (if non-NULL) contains leftover bytes previously read from the endpoint (e.g., by handshakers). More...
 

Variables

grpc_core::TraceFlag grpc_http_trace
 
grpc_core::TraceFlag grpc_trace_http2_stream_state
 
grpc_core::DebugOnlyTraceFlag grpc_trace_chttp2_refcount
 
grpc_core::DebugOnlyTraceFlag grpc_trace_chttp2_hpack_parser
 
bool g_flow_control_enabled
 

Function Documentation

◆ grpc_chttp2_transport_get_socket_node()

grpc_core::RefCountedPtr<grpc_core::channelz::SocketNode> grpc_chttp2_transport_get_socket_node ( grpc_transport transport)

◆ grpc_chttp2_transport_start_reading()

void grpc_chttp2_transport_start_reading ( grpc_transport transport,
grpc_slice_buffer read_buffer,
grpc_closure notify_on_receive_settings 
)

Takes ownership of read_buffer, which (if non-NULL) contains leftover bytes previously read from the endpoint (e.g., by handshakers).

If non-null, notify_on_receive_settings will be scheduled when HTTP/2 settings are received from the peer.

◆ grpc_create_chttp2_transport()

grpc_transport* grpc_create_chttp2_transport ( const grpc_channel_args channel_args,
grpc_endpoint ep,
bool  is_client,
grpc_resource_user resource_user = nullptr 
)

Variable Documentation

◆ g_flow_control_enabled

bool g_flow_control_enabled
extern

◆ grpc_http_trace

grpc_core::TraceFlag grpc_http_trace
extern

◆ grpc_trace_chttp2_hpack_parser

grpc_core::DebugOnlyTraceFlag grpc_trace_chttp2_hpack_parser
extern

◆ grpc_trace_chttp2_refcount

grpc_core::DebugOnlyTraceFlag grpc_trace_chttp2_refcount
extern

◆ grpc_trace_http2_stream_state

grpc_core::TraceFlag grpc_trace_http2_stream_state
extern