Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

_cp_http_transfer_descriptor Struct Reference
[Cp_socket]

#include <httpclient.h>


Data Fields

void * id
char * uri
cp_httpclientowner
cp_http_responseres
cp_stringbuf
char * read_ptr
int skip
int stage
int read_stage
int transfer
int remaining
int redirects
int status
cp_httpclient_callback callback


Detailed Description

transfer descriptor for async interface

Definition at line 409 of file httpclient.h.


Field Documentation

cp_string* _cp_http_transfer_descriptor::buf
 

io buffer

Definition at line 415 of file httpclient.h.

Referenced by cp_httpclient_fetch_ctl().

void* _cp_http_transfer_descriptor::id
 

user assigned id

Definition at line 411 of file httpclient.h.

cp_httpclient* _cp_http_transfer_descriptor::owner
 

client

Definition at line 413 of file httpclient.h.

char* _cp_http_transfer_descriptor::read_ptr
 

pointer to processed stage within buf

Definition at line 416 of file httpclient.h.

int _cp_http_transfer_descriptor::read_stage
 

read status line, header, body

Definition at line 419 of file httpclient.h.

int _cp_http_transfer_descriptor::redirects
 

number of redirects

Definition at line 422 of file httpclient.h.

int _cp_http_transfer_descriptor::remaining
 

io bytes yet to be transfered

Definition at line 421 of file httpclient.h.

Referenced by cp_httpclient_fetch_ctl().

cp_http_response* _cp_http_transfer_descriptor::res
 

result

Definition at line 414 of file httpclient.h.

int _cp_http_transfer_descriptor::skip
 

read pointer offset

Definition at line 417 of file httpclient.h.

int _cp_http_transfer_descriptor::stage
 

connecting, writing, reading

Definition at line 418 of file httpclient.h.

int _cp_http_transfer_descriptor::status
 

transfer result

Definition at line 423 of file httpclient.h.

int _cp_http_transfer_descriptor::transfer
 

chunked, content-length, EOF

Definition at line 420 of file httpclient.h.

char* _cp_http_transfer_descriptor::uri
 

target uri

Definition at line 412 of file httpclient.h.


The documentation for this struct was generated from the following file:
Generated on Sat Dec 1 10:25:30 2007 for cprops by  doxygen 1.3.9.1