GRPC C++  1.39.1
Functions | Variables
parser.cc File Reference
#include <grpc/support/port_platform.h>
#include "src/core/lib/http/parser.h"
#include <stdbool.h>
#include <string.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "src/core/lib/gpr/useful.h"

Functions

void grpc_http_parser_init (grpc_http_parser *parser, grpc_http_type type, void *request_or_response)
 
void grpc_http_parser_destroy (grpc_http_parser *)
 
void grpc_http_request_destroy (grpc_http_request *request)
 
void grpc_http_response_destroy (grpc_http_response *response)
 
grpc_error_handle grpc_http_parser_parse (grpc_http_parser *parser, const grpc_slice &slice, size_t *start_of_body)
 
grpc_error_handle grpc_http_parser_eof (grpc_http_parser *parser)
 

Variables

grpc_core::TraceFlag grpc_http1_trace (false, "http1")
 

Function Documentation

◆ grpc_http_parser_destroy()

void grpc_http_parser_destroy ( grpc_http_parser parser)

◆ grpc_http_parser_eof()

grpc_error_handle grpc_http_parser_eof ( grpc_http_parser parser)

◆ grpc_http_parser_init()

void grpc_http_parser_init ( grpc_http_parser parser,
grpc_http_type  type,
void *  request_or_response 
)

◆ grpc_http_parser_parse()

grpc_error_handle grpc_http_parser_parse ( grpc_http_parser parser,
const grpc_slice slice,
size_t *  start_of_body 
)

◆ grpc_http_request_destroy()

void grpc_http_request_destroy ( grpc_http_request request)

◆ grpc_http_response_destroy()

void grpc_http_response_destroy ( grpc_http_response response)

Variable Documentation

◆ grpc_http1_trace

grpc_core::TraceFlag grpc_http1_trace(false, "http1") ( false  ,
"http1"   
)