GNU libmicrohttpd
0.9.29
|
#include </builddir/build/BUILD/libmicrohttpd-0.9.33/src/microspdy/structures.h>
Data Fields | |
struct SPDYF_Response_Queue * | next |
struct SPDYF_Response_Queue * | prev |
struct SPDYF_Stream * | stream |
struct SPDY_Response * | response |
struct SPDYF_Control_Frame * | control_frame |
struct SPDYF_Data_Frame * | data_frame |
void * | data |
int(* | process_response_handler )(struct SPDY_Session *session) |
SPDYF_ResponseQueueResultCallback | frqcb |
void * | frqcb_cls |
SPDY_ResponseResultCallback | rrcb |
void * | rrcb_cls |
size_t | data_size |
bool | is_data |
Queue of the responses, to be handled (e.g. compressed) and sent later.
Definition at line 404 of file structures.h.
struct SPDYF_Control_Frame* SPDYF_Response_Queue::control_frame |
Control frame. The length field should be set after compressing the headers!
Definition at line 430 of file structures.h.
Referenced by spdy_handler_response_queue_result(), SPDYF_handler_write_goaway(), SPDYF_handler_write_rst_stream(), SPDYF_handler_write_syn_reply(), SPDYF_handler_write_window_update(), SPDYF_prepare_goaway(), SPDYF_prepare_rst_stream(), SPDYF_prepare_window_update(), SPDYF_response_queue_create(), SPDYF_response_queue_destroy(), SPDYF_session_write(), and SPDYF_stream_set_flags_on_write().
void* SPDYF_Response_Queue::data |
Data to be sent: name/value pairs in control frames or body in data frames.
Definition at line 441 of file structures.h.
Referenced by SPDYF_handler_write_data(), SPDYF_handler_write_goaway(), SPDYF_handler_write_rst_stream(), SPDYF_handler_write_syn_reply(), SPDYF_handler_write_window_update(), SPDYF_prepare_goaway(), SPDYF_prepare_rst_stream(), SPDYF_prepare_window_update(), SPDYF_response_queue_create(), and SPDYF_response_queue_destroy().
struct SPDYF_Data_Frame* SPDYF_Response_Queue::data_frame |
Data frame. The length field should be set after compressing the body!
Definition at line 436 of file structures.h.
Referenced by spdy_handler_response_queue_result(), SPDYF_handler_write_data(), SPDYF_response_queue_create(), SPDYF_response_queue_destroy(), and SPDYF_stream_set_flags_on_write().
size_t SPDYF_Response_Queue::data_size |
Data size.
Definition at line 472 of file structures.h.
Referenced by SPDYF_handler_write_syn_reply(), SPDYF_prepare_goaway(), SPDYF_prepare_rst_stream(), SPDYF_prepare_window_update(), and SPDYF_response_queue_create().
SPDYF_ResponseQueueResultCallback SPDYF_Response_Queue::frqcb |
Callback to be called when the last bytes from the response was sent to the client.
Definition at line 452 of file structures.h.
Referenced by SPDY_queue_response(), SPDYF_handler_write_data(), SPDYF_response_queue_create(), SPDYF_session_destroy(), and SPDYF_session_write().
void* SPDYF_Response_Queue::frqcb_cls |
Closure for frqcb.
Definition at line 457 of file structures.h.
Referenced by SPDY_queue_response(), SPDYF_handler_write_data(), SPDYF_response_queue_create(), SPDYF_session_destroy(), and SPDYF_session_write().
bool SPDYF_Response_Queue::is_data |
True if data frame should be sent. False if control frame should be sent.
Definition at line 478 of file structures.h.
Referenced by SPDYF_response_queue_create(), SPDYF_response_queue_destroy(), and SPDYF_session_write().
struct SPDYF_Response_Queue* SPDYF_Response_Queue::next |
This is a doubly-linked list.
Definition at line 409 of file structures.h.
Referenced by SPDYF_handler_write_data(), SPDYF_queue_response(), SPDYF_response_queue_create(), and SPDYF_session_write().
struct SPDYF_Response_Queue* SPDYF_Response_Queue::prev |
This is a doubly-linked list.
Definition at line 414 of file structures.h.
Referenced by SPDYF_handler_write_data(), SPDYF_queue_response(), SPDYF_response_queue_create(), and SPDYF_session_write().
int(* SPDYF_Response_Queue::process_response_handler)(struct SPDY_Session *session) |
Specific handler for different frame types.
Definition at line 446 of file structures.h.
Referenced by SPDYF_prepare_goaway(), SPDYF_prepare_rst_stream(), SPDYF_prepare_window_update(), SPDYF_response_queue_create(), and SPDYF_session_write().
struct SPDY_Response* SPDYF_Response_Queue::response |
Response structure with all the data (uncompressed headers) to be sent.
Definition at line 424 of file structures.h.
Referenced by spdy_handler_response_queue_result(), SPDYF_handler_write_data(), and SPDYF_response_queue_create().
SPDY_ResponseResultCallback SPDYF_Response_Queue::rrcb |
Callback to be used by the application layer.
Definition at line 462 of file structures.h.
Referenced by spdy_handler_response_queue_result(), SPDYF_handler_write_data(), and SPDYF_response_queue_create().
void* SPDYF_Response_Queue::rrcb_cls |
Closure for rcb.
Definition at line 467 of file structures.h.
Referenced by spdy_handler_response_queue_result(), SPDYF_handler_write_data(), and SPDYF_response_queue_create().
struct SPDYF_Stream* SPDYF_Response_Queue::stream |
Stream (Request) for which is the response.
Definition at line 419 of file structures.h.
Referenced by spdy_handler_response_queue_result(), SPDYF_handler_write_data(), SPDYF_handler_write_syn_reply(), SPDYF_prepare_rst_stream(), SPDYF_prepare_window_update(), SPDYF_queue_response(), SPDYF_response_queue_create(), SPDYF_session_write(), and SPDYF_stream_set_flags_on_write().