SPDY_Response Struct Reference

#include </builddir/build/BUILD/libmicrohttpd-0.9.33/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

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().

Length of data.

Definition at line 1037 of file structures.h.

Referenced by SPDY_build_response(), and SPDY_queue_response().

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().

Length of headers.

Definition at line 1032 of file structures.h.

Referenced by SPDY_build_response(), and SPDY_queue_response().

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().

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().

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:

Generated on 14 Oct 2014 for GNU libmicrohttpd by  doxygen 1.6.1