GRPC Core  9.0.0
chttp2_transport.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright 2015 gRPC authors.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 #ifndef GRPC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_CHTTP2_TRANSPORT_H
20 #define GRPC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_CHTTP2_TRANSPORT_H
21 
23 
28 
33 
34 extern bool g_flow_control_enabled;
35 
37  const grpc_channel_args* channel_args, grpc_endpoint* ep, bool is_client,
38  grpc_resource_user* resource_user = nullptr);
39 
42 
48  grpc_transport* transport, grpc_slice_buffer* read_buffer,
49  grpc_closure* notify_on_receive_settings);
50 
51 #endif /* GRPC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_CHTTP2_TRANSPORT_H */
grpc_core::DebugOnlyTraceFlag grpc_trace_chttp2_hpack_parser
grpc_core::TraceFlag grpc_trace_http2_stream_state
bool g_flow_control_enabled
Definition: chttp2_transport.cc:169
grpc_transport * grpc_create_chttp2_transport(const grpc_channel_args *channel_args, grpc_endpoint *ep, bool is_client, grpc_resource_user *resource_user=nullptr)
Definition: chttp2_transport.cc:3324
grpc_core::RefCountedPtr< grpc_core::channelz::SocketNode > grpc_chttp2_transport_get_socket_node(grpc_transport *transport)
Definition: chttp2_transport.cc:3318
grpc_core::TraceFlag grpc_http_trace
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 ...
Definition: chttp2_transport.cc:3332
grpc_core::DebugOnlyTraceFlag grpc_trace_chttp2_refcount
Definition: trace.h:61
An array of arguments that can be passed around.
Definition: grpc_types.h:132
A closure over a grpc_iomgr_cb_func.
Definition: closure.h:56
Definition: endpoint.h:102
Definition: resource_quota.cc:63
Represents an expandable array of slices, to be interpreted as a single item.
Definition: slice.h:78
Definition: transport_impl.h:66