Sha256: 06efeb70a11e278d7f7d96440aa2f5e8a06220b8d8970b032a1e5bf2e0807b81

Contents?: true

Size: 1.65 KB

Versions: 14

Compression:

Stored size: 1.65 KB

Contents

/*
 *
 * Copyright 2015 gRPC authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

#ifndef GRPC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_CHTTP2_TRANSPORT_H
#define GRPC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_CHTTP2_TRANSPORT_H

#include "src/core/lib/debug/trace.h"
#include "src/core/lib/iomgr/endpoint.h"
#include "src/core/lib/transport/transport.h"

extern grpc_core::TraceFlag grpc_http_trace;
extern grpc_core::TraceFlag grpc_trace_http2_stream_state;
extern grpc_core::DebugOnlyTraceFlag grpc_trace_chttp2_refcount;

extern bool g_flow_control_enabled;

grpc_transport* grpc_create_chttp2_transport(
    const grpc_channel_args* channel_args, grpc_endpoint* ep, bool is_client);

/// Takes ownership of \a read_buffer, which (if non-NULL) contains
/// leftover bytes previously read from the endpoint (e.g., by handshakers).
/// If non-null, \a notify_on_receive_settings will be scheduled when
/// HTTP/2 settings are received from the peer.
void grpc_chttp2_transport_start_reading(
    grpc_transport* transport, grpc_slice_buffer* read_buffer,
    grpc_closure* notify_on_receive_settings);

#endif /* GRPC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_CHTTP2_TRANSPORT_H */

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
grpc-1.10.0 src/core/ext/transport/chttp2/transport/chttp2_transport.h
grpc-1.10.0-x86_64-linux src/core/ext/transport/chttp2/transport/chttp2_transport.h
grpc-1.10.0.pre2-x86_64-linux src/core/ext/transport/chttp2/transport/chttp2_transport.h
grpc-1.10.0.pre2 src/core/ext/transport/chttp2/transport/chttp2_transport.h
grpc-1.10.0.pre1-x86_64-linux src/core/ext/transport/chttp2/transport/chttp2_transport.h
grpc-1.10.0.pre1 src/core/ext/transport/chttp2/transport/chttp2_transport.h
grpc-1.9.1-x86_64-linux src/core/ext/transport/chttp2/transport/chttp2_transport.h
grpc-1.9.1 src/core/ext/transport/chttp2/transport/chttp2_transport.h
grpc-1.9.0.pre3-x86_64-linux src/core/ext/transport/chttp2/transport/chttp2_transport.h
grpc-1.9.0.pre3 src/core/ext/transport/chttp2/transport/chttp2_transport.h
grpc-1.9.0.pre2-x86_64-linux src/core/ext/transport/chttp2/transport/chttp2_transport.h
grpc-1.9.0.pre2 src/core/ext/transport/chttp2/transport/chttp2_transport.h
grpc-1.9.0.pre1-x86_64-linux src/core/ext/transport/chttp2/transport/chttp2_transport.h
grpc-1.9.0.pre1 src/core/ext/transport/chttp2/transport/chttp2_transport.h