_cp_http_response Struct Reference
[Cp_socket]

#include <http.h>


Data Fields

cp_http_version version
cp_http_status_code status
cp_http_requestrequest
char * servername
connection_policy connection
cp_hashtableheader
cp_http_content_type content_type
char * content_type_lit
char * body
cp_stringcontent
int len
short skip
char * status_lit


Detailed Description

http response holder

Definition at line 381 of file http.h.


Field Documentation

char* _cp_http_response::body

deprecated

Definition at line 394 of file http.h.

connection_policy _cp_http_response::connection

Keep-Alive, Close

Definition at line 387 of file http.h.

cp_string* _cp_http_response::content

content

Definition at line 395 of file http.h.

cp_http_content_type _cp_http_response::content_type

deprecated

Definition at line 392 of file http.h.

char* _cp_http_response::content_type_lit

content type string

Definition at line 393 of file http.h.

cp_hashtable* _cp_http_response::header

headers

Definition at line 388 of file http.h.

cp_http_request* _cp_http_response::request

originating request

Definition at line 385 of file http.h.

Referenced by cp_http_response_create().

char* _cp_http_response::servername

Server header

Definition at line 386 of file http.h.

short _cp_http_response::skip

skip flag

Definition at line 397 of file http.h.

cp_http_status_code _cp_http_response::status

http return code (rfc 2616)

Definition at line 384 of file http.h.

char* _cp_http_response::status_lit

remote server code literal

Definition at line 398 of file http.h.

cp_http_version _cp_http_response::version

HTTP_1_0, HTTP_1_1

Definition at line 383 of file http.h.


The documentation for this struct was generated from the following file:
Generated on Mon Dec 5 23:00:23 2011 for cprops by  doxygen 1.4.7