#include <SpdyClientSession.h>
Public Member Functions | |
SpdyRequest () | |
SpdyRequest (SpdyClientSession *sm, int id) | |
~SpdyRequest () | |
void | init (SpdyClientSession *sm, int id) |
void | clear () |
void | append_nv (char **nv) |
Data Fields | |
int | event |
SpdyClientSession * | spdy_sm |
int | stream_id |
TSHRTime | start_time |
TSFetchSM | fetch_sm |
bool | has_submitted_data |
bool | need_resume_data |
int | fetch_data_len |
unsigned | delta_window_size |
bool | fetch_body_completed |
vector< pair< string, string > > | headers |
string | url |
string | host |
string | path |
string | scheme |
string | method |
string | version |
MD5_CTX | recv_md5 |
Definition at line 36 of file SpdyClientSession.h.
SpdyRequest::SpdyRequest | ( | ) | [inline] |
Definition at line 39 of file SpdyClientSession.h.
SpdyRequest::SpdyRequest | ( | SpdyClientSession * | sm, | |
int | id | |||
) | [inline] |
Definition at line 47 of file SpdyClientSession.h.
References init().
SpdyRequest::~SpdyRequest | ( | ) | [inline] |
Definition at line 56 of file SpdyClientSession.h.
References clear().
void SpdyRequest::append_nv | ( | char ** | nv | ) | [inline] |
Definition at line 64 of file SpdyClientSession.h.
References headers.
Referenced by spdy_on_ctrl_recv_callback().
void SpdyRequest::clear | ( | void | ) |
Definition at line 67 of file SpdyClientSession.cc.
References Debug, fetch_sm, headers, host, method, Continuation::mutex, path, scheme, SpdyClientSession::sm_id, SPDY_DECREMENT_THREAD_DYN_STAT, spdy_sm, SPDY_STAT_CURRENT_CLIENT_STREAM_COUNT, stream_id, TSFetchDestroy(), url, and version.
Referenced by SpdyClientSession::cleanup_request(), SpdyClientSession::clear(), and ~SpdyRequest().
void SpdyRequest::init | ( | SpdyClientSession * | sm, | |
int | id | |||
) |
Definition at line 54 of file SpdyClientSession.cc.
References headers, Continuation::mutex, recv_md5, SPDY_INCREMENT_THREAD_DYN_STAT, spdy_sm, SPDY_STAT_CURRENT_CLIENT_STREAM_COUNT, start_time, stream_id, and TShrtime().
Referenced by spdy_on_ctrl_recv_callback(), and SpdyRequest().
unsigned SpdyRequest::delta_window_size |
Definition at line 80 of file SpdyClientSession.h.
Referenced by spdy_on_data_recv_callback().
Definition at line 72 of file SpdyClientSession.h.
Referenced by spdy_process_fetch_body(), and spdy_read_fetch_body_callback().
Definition at line 81 of file SpdyClientSession.h.
Referenced by spdy_process_fetch().
Definition at line 79 of file SpdyClientSession.h.
Referenced by spdy_read_fetch_body_callback().
Definition at line 76 of file SpdyClientSession.h.
Referenced by clear(), spdy_fetcher_launch(), spdy_on_data_chunk_recv_callback(), spdy_process_fetch(), and spdy_read_fetch_body_callback().
Definition at line 77 of file SpdyClientSession.h.
Referenced by spdy_process_fetch_body().
vector<pair<string, string> > SpdyRequest::headers |
Definition at line 82 of file SpdyClientSession.h.
Referenced by append_nv(), clear(), init(), spdy_fetcher_launch(), spdy_prepare_status_response_and_clean_request(), and spdy_process_syn_stream_frame().
string SpdyRequest::host |
Definition at line 85 of file SpdyClientSession.h.
Referenced by clear(), spdy_fetcher_launch(), and spdy_process_syn_stream_frame().
string SpdyRequest::method |
Definition at line 88 of file SpdyClientSession.h.
Referenced by clear(), spdy_fetcher_launch(), and spdy_process_syn_stream_frame().
Definition at line 78 of file SpdyClientSession.h.
Referenced by spdy_process_fetch_body(), and spdy_read_fetch_body_callback().
string SpdyRequest::path |
Definition at line 86 of file SpdyClientSession.h.
Referenced by clear(), spdy_fetcher_launch(), and spdy_process_syn_stream_frame().
MD5_CTX SpdyRequest::recv_md5 |
Definition at line 91 of file SpdyClientSession.h.
Referenced by init(), and spdy_read_fetch_body_callback().
string SpdyRequest::scheme |
Definition at line 87 of file SpdyClientSession.h.
Referenced by clear(), spdy_fetcher_launch(), and spdy_process_syn_stream_frame().
Definition at line 73 of file SpdyClientSession.h.
Referenced by clear(), init(), and spdy_fetcher_launch().
Definition at line 75 of file SpdyClientSession.h.
Referenced by init(), spdy_process_fetch(), spdy_process_fetch_header(), and spdy_read_fetch_body_callback().
Definition at line 74 of file SpdyClientSession.h.
Referenced by clear(), init(), spdy_fetcher_launch(), spdy_process_fetch(), spdy_process_fetch_body(), spdy_process_fetch_header(), spdy_process_syn_stream_frame(), and spdy_read_fetch_body_callback().
string SpdyRequest::url |
Definition at line 84 of file SpdyClientSession.h.
Referenced by clear(), spdy_fetcher_launch(), spdy_process_fetch(), spdy_process_fetch_header(), and spdy_read_fetch_body_callback().
string SpdyRequest::version |
Definition at line 89 of file SpdyClientSession.h.
Referenced by clear(), spdy_fetcher_launch(), and spdy_process_syn_stream_frame().