GRPC C++  1.39.1
Data Structures | Functions
frame_rst_stream.h File Reference
#include <grpc/support/port_platform.h>
#include <grpc/slice.h>
#include "src/core/ext/transport/chttp2/transport/frame.h"
#include "src/core/lib/transport/transport.h"

Go to the source code of this file.

Data Structures

struct  grpc_chttp2_rst_stream_parser
 

Functions

grpc_slice grpc_chttp2_rst_stream_create (uint32_t stream_id, uint32_t code, grpc_transport_one_way_stats *stats)
 
void grpc_chttp2_add_rst_stream_to_next_write (grpc_chttp2_transport *t, uint32_t id, uint32_t code, grpc_transport_one_way_stats *stats)
 
grpc_error_handle grpc_chttp2_rst_stream_parser_begin_frame (grpc_chttp2_rst_stream_parser *parser, uint32_t length, uint8_t flags)
 
grpc_error_handle grpc_chttp2_rst_stream_parser_parse (void *parser, grpc_chttp2_transport *t, grpc_chttp2_stream *s, const grpc_slice &slice, int is_last)
 

Function Documentation

◆ grpc_chttp2_add_rst_stream_to_next_write()

void grpc_chttp2_add_rst_stream_to_next_write ( grpc_chttp2_transport t,
uint32_t  id,
uint32_t  code,
grpc_transport_one_way_stats stats 
)

◆ grpc_chttp2_rst_stream_create()

grpc_slice grpc_chttp2_rst_stream_create ( uint32_t  stream_id,
uint32_t  code,
grpc_transport_one_way_stats stats 
)

◆ grpc_chttp2_rst_stream_parser_begin_frame()

grpc_error_handle grpc_chttp2_rst_stream_parser_begin_frame ( grpc_chttp2_rst_stream_parser parser,
uint32_t  length,
uint8_t  flags 
)

◆ grpc_chttp2_rst_stream_parser_parse()

grpc_error_handle grpc_chttp2_rst_stream_parser_parse ( void *  parser,
grpc_chttp2_transport t,
grpc_chttp2_stream s,
const grpc_slice slice,
int  is_last 
)