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

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

Data Fields

struct SPDYF_Streamnext
 
struct SPDYF_Streamprev
 
struct SPDY_Sessionsession
 
struct SPDY_NameValueheaders
 
void * cls
 
uint32_t stream_id
 
uint32_t assoc_stream_id
 
uint32_t window_size
 
uint8_t priority
 
uint8_t slot
 
bool flag_unidirectional
 
bool is_in_closed
 
bool is_out_closed
 
bool is_server_initiator
 

Detailed Description

Represents a SPDY stream

Definition at line 519 of file structures.h.

Field Documentation

uint32_t SPDYF_Stream::assoc_stream_id

Stream to which this one is associated.

Definition at line 554 of file structures.h.

Referenced by SPDYF_stream_new().

void* SPDYF_Stream::cls

Any object to be used by the application layer.

Definition at line 544 of file structures.h.

Referenced by spdy_handler_new_data(), and spdy_handler_new_stream().

bool SPDYF_Stream::flag_unidirectional

If initially the stream was created as unidirectional.

Definition at line 576 of file structures.h.

Referenced by SPDYF_stream_new().

struct SPDY_NameValue* SPDYF_Stream::headers

Name value pairs, sent within the frame which created the stream.

Definition at line 539 of file structures.h.

Referenced by spdy_handler_new_stream(), spdyf_handler_read_syn_stream(), and SPDYF_stream_destroy().

bool SPDYF_Stream::is_in_closed

If the stream won't be used for receiving frames anymore. The client has sent FLAG_FIN or the stream was terminated with RST_STREAM.

Definition at line 583 of file structures.h.

Referenced by spdy_handler_new_stream(), spdyf_handler_read_data(), spdyf_handler_read_rst_stream(), SPDYF_stream_new(), and SPDYF_stream_set_flags_on_write().

bool SPDYF_Stream::is_out_closed

If the stream won't be used for sending out frames anymore. The server has sent FLAG_FIN or the stream was terminated with RST_STREAM.

Definition at line 590 of file structures.h.

Referenced by spdy_handler_response_queue_result(), SPDY_queue_response(), spdyf_handler_read_rst_stream(), SPDYF_session_write(), SPDYF_stream_new(), and SPDYF_stream_set_flags_on_write().

bool SPDYF_Stream::is_server_initiator

Which entity (server/client) has created the stream.

Definition at line 595 of file structures.h.

Referenced by SPDYF_stream_new().

struct SPDYF_Stream* SPDYF_Stream::next

This is a doubly-linked list.

Definition at line 524 of file structures.h.

Referenced by spdyf_handler_read_rst_stream(), and SPDYF_stream_find().

struct SPDYF_Stream* SPDYF_Stream::prev

This is a doubly-linked list.

Definition at line 529 of file structures.h.

uint8_t SPDYF_Stream::priority

Stream priority. 0 is the highest, 7 is the lowest.

Definition at line 564 of file structures.h.

Referenced by spdy_handler_new_stream(), SPDYF_queue_response(), and SPDYF_stream_new().

struct SPDY_Session* SPDYF_Stream::session
uint8_t SPDYF_Stream::slot

Integer specifying the index in the server's CREDENTIAL vector of the client certificate to be used for this request The value 0 means no client certificate should be associated with this stream.

Definition at line 571 of file structures.h.

Referenced by SPDYF_stream_new().

uint32_t SPDYF_Stream::window_size

The window of the data within data frames.

Definition at line 559 of file structures.h.

Referenced by spdyf_handler_read_data(), and SPDYF_stream_new().


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