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

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

Data Fields

struct SPDYF_Response_Queuenext
 
struct SPDYF_Response_Queueprev
 
struct SPDYF_Streamstream
 
struct SPDY_Responseresponse
 
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
 

Detailed Description

Queue of the responses, to be handled (e.g. compressed) and sent later.

Definition at line 404 of file structures.h.

Field Documentation

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


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