#include <grpc/support/port_platform.h>#include <grpc/impl/codegen/grpc_types.h>#include <grpc/slice.h>#include "src/core/lib/channel/channelz.h"#include "src/core/lib/debug/trace.h"#include "src/core/lib/gprpp/ref_counted_ptr.h"#include "src/core/lib/iomgr/closure.h"#include "src/core/lib/iomgr/endpoint.h"#include "src/core/lib/transport/transport_fwd.h"

Go to the source code of this file.
Namespaces | |
| grpc_core | |
Typedefs | |
| typedef void(* | grpc_core::TestOnlyGlobalHttp2TransportDestructCallback) () |
| typedef void(* | grpc_core::TestOnlyGlobalHttp2TransportInitCallback) () |
Functions | |
| grpc_core::RefCountedPtr< grpc_core::channelz::SocketNode > | grpc_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, grpc_closure *notify_on_close) |
| grpc_transport * | grpc_create_chttp2_transport (const grpc_channel_args *channel_args, grpc_endpoint *ep, bool is_client) |
| void | grpc_core::TestOnlyGlobalHttp2TransportDisableTransientFailureStateNotification (bool disable) |
| void | grpc_core::TestOnlySetGlobalHttp2TransportDestructCallback (TestOnlyGlobalHttp2TransportDestructCallback callback) |
| void | grpc_core::TestOnlySetGlobalHttp2TransportInitCallback (TestOnlyGlobalHttp2TransportInitCallback callback) |
| grpc_core::RefCountedPtr<grpc_core::channelz::SocketNode> grpc_chttp2_transport_get_socket_node | ( | grpc_transport * | transport | ) |
Definition at line 3116 of file chttp2_transport.cc.
| void grpc_chttp2_transport_start_reading | ( | grpc_transport * | transport, |
| grpc_slice_buffer * | read_buffer, | ||
| grpc_closure * | notify_on_receive_settings, | ||
| grpc_closure * | notify_on_close | ||
| ) |
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.
Definition at line 3128 of file chttp2_transport.cc.
| grpc_transport* grpc_create_chttp2_transport | ( | const grpc_channel_args * | channel_args, |
| grpc_endpoint * | ep, | ||
| bool | is_client | ||
| ) |
Creates a CHTTP2 Transport. This takes ownership of a resource_user ref from the caller; if the caller still needs the resource_user after creating a transport, the caller must take another ref.
Definition at line 3122 of file chttp2_transport.cc.
| grpc_core::TraceFlag grpc_http_trace |
| grpc_core::TraceFlag grpc_keepalive_trace |
| grpc_core::DebugOnlyTraceFlag grpc_trace_chttp2_hpack_parser |
| grpc_core::DebugOnlyTraceFlag grpc_trace_chttp2_refcount |
| grpc_core::TraceFlag grpc_trace_http2_stream_state |