GRPC Core
18.0.0
|
#include <grpc/support/port_platform.h>
#include <grpc/slice.h>
#include <grpc/slice_buffer.h>
#include "src/core/ext/transport/chttp2/transport/frame.h"
#include "src/core/lib/transport/metadata.h"
#include "src/core/lib/transport/metadata_batch.h"
#include "src/core/lib/transport/transport.h"
Go to the source code of this file.
Data Structures | |
struct | grpc_chttp2_hpack_compressor |
struct | grpc_encode_header_options |
Macros | |
#define | GRPC_CHTTP2_HPACKC_NUM_VALUES_BITS 6 |
#define | GRPC_CHTTP2_HPACKC_NUM_VALUES (1 << GRPC_CHTTP2_HPACKC_NUM_VALUES_BITS) |
#define | GRPC_CHTTP2_HPACKC_INITIAL_TABLE_SIZE 4096 |
#define | GRPC_CHTTP2_HPACKC_MAX_TABLE_SIZE (1024 * 1024) |
Functions | |
void | grpc_chttp2_hpack_compressor_init (grpc_chttp2_hpack_compressor *c) |
void | grpc_chttp2_hpack_compressor_destroy (grpc_chttp2_hpack_compressor *c) |
void | grpc_chttp2_hpack_compressor_set_max_table_size (grpc_chttp2_hpack_compressor *c, uint32_t max_table_size) |
void | grpc_chttp2_hpack_compressor_set_max_usable_size (grpc_chttp2_hpack_compressor *c, uint32_t max_table_size) |
void | grpc_chttp2_encode_header (grpc_chttp2_hpack_compressor *c, grpc_mdelem **extra_headers, size_t extra_headers_size, grpc_metadata_batch *metadata, const grpc_encode_header_options *options, grpc_slice_buffer *outbuf) |
Variables | |
grpc_core::TraceFlag | grpc_http_trace |
#define GRPC_CHTTP2_HPACKC_INITIAL_TABLE_SIZE 4096 |
#define GRPC_CHTTP2_HPACKC_MAX_TABLE_SIZE (1024 * 1024) |
#define GRPC_CHTTP2_HPACKC_NUM_VALUES (1 << GRPC_CHTTP2_HPACKC_NUM_VALUES_BITS) |
#define GRPC_CHTTP2_HPACKC_NUM_VALUES_BITS 6 |
void grpc_chttp2_encode_header | ( | grpc_chttp2_hpack_compressor * | c, |
grpc_mdelem ** | extra_headers, | ||
size_t | extra_headers_size, | ||
grpc_metadata_batch * | metadata, | ||
const grpc_encode_header_options * | options, | ||
grpc_slice_buffer * | outbuf | ||
) |
void grpc_chttp2_hpack_compressor_destroy | ( | grpc_chttp2_hpack_compressor * | c | ) |
void grpc_chttp2_hpack_compressor_init | ( | grpc_chttp2_hpack_compressor * | c | ) |
void grpc_chttp2_hpack_compressor_set_max_table_size | ( | grpc_chttp2_hpack_compressor * | c, |
uint32_t | max_table_size | ||
) |
void grpc_chttp2_hpack_compressor_set_max_usable_size | ( | grpc_chttp2_hpack_compressor * | c, |
uint32_t | max_table_size | ||
) |
|
extern |