GNU libmicrohttpd  0.9.29
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
SPDY_Response Struct Reference

#include </builddir/build/BUILD/libmicrohttpd-0.9.34/src/microspdy/structures.h>

Data Fields

void * headers
 
void * data
 
SPDY_ResponseCallback rcb
 
void * rcb_cls
 
size_t headers_size
 
size_t data_size
 
uint32_t rcb_block_size
 

Detailed Description

Represents a SPDY response.

Definition at line 1003 of file structures.h.

Field Documentation

void* SPDY_Response::data

Raw stream of the data to be sent. Equivalent to the body in HTTP response.

Definition at line 1015 of file structures.h.

Referenced by SPDY_build_response(), SPDY_destroy_response(), and SPDY_queue_response().

size_t SPDY_Response::data_size

Length of data.

Definition at line 1037 of file structures.h.

Referenced by SPDY_build_response(), and SPDY_queue_response().

void* SPDY_Response::headers

Raw uncompressed stream of the name/value pairs in SPDY frame used for the HTTP headers.

Definition at line 1009 of file structures.h.

Referenced by SPDY_build_response(), SPDY_destroy_response(), and SPDY_queue_response().

size_t SPDY_Response::headers_size

Length of headers.

Definition at line 1032 of file structures.h.

Referenced by SPDY_build_response(), and SPDY_queue_response().

SPDY_ResponseCallback SPDY_Response::rcb

Callback function to be used when the response data is provided with callbacks. In this case data must be NULL and data_size must be 0.

Definition at line 1022 of file structures.h.

Referenced by SPDY_build_response_with_callback(), SPDY_queue_response(), SPDYF_handler_write_data(), and SPDYF_response_queue_create().

uint32_t SPDY_Response::rcb_block_size

The callback func will be called to get that amount of bytes to put them into a DATA frame. It is either user preffered or the maximum supported by the lib value.

Definition at line 1044 of file structures.h.

Referenced by SPDY_build_response_with_callback(), and SPDYF_handler_write_data().

void* SPDY_Response::rcb_cls

Extra argument to rcb.

Definition at line 1027 of file structures.h.

Referenced by SPDY_build_response_with_callback(), and SPDYF_handler_write_data().


The documentation for this struct was generated from the following file: