GRPC Core  0.11.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Enumerations | Functions
parser.h File Reference
#include "src/core/httpcli/httpcli.h"
#include <grpc/support/port_platform.h>
#include <grpc/support/slice.h>

Go to the source code of this file.

Data Structures

struct  grpc_httpcli_parser
 

Enumerations

enum  grpc_httpcli_parser_state { GRPC_HTTPCLI_INITIAL_RESPONSE, GRPC_HTTPCLI_HEADERS, GRPC_HTTPCLI_BODY }
 

Functions

void grpc_httpcli_parser_init (grpc_httpcli_parser *parser)
 
void grpc_httpcli_parser_destroy (grpc_httpcli_parser *parser)
 
int grpc_httpcli_parser_parse (grpc_httpcli_parser *parser, gpr_slice slice)
 
int grpc_httpcli_parser_eof (grpc_httpcli_parser *parser)
 

Enumeration Type Documentation

Enumerator
GRPC_HTTPCLI_INITIAL_RESPONSE 
GRPC_HTTPCLI_HEADERS 
GRPC_HTTPCLI_BODY 

Function Documentation

void grpc_httpcli_parser_destroy ( grpc_httpcli_parser parser)
int grpc_httpcli_parser_eof ( grpc_httpcli_parser parser)
void grpc_httpcli_parser_init ( grpc_httpcli_parser parser)
int grpc_httpcli_parser_parse ( grpc_httpcli_parser parser,
gpr_slice  slice 
)