BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJLIB-UTIL Reference

pj_http_resp Struct Reference

Data Fields

pj_str_t version
 
pj_uint16_t status_code
 
pj_str_t reason
 
pj_http_headers headers
 
pj_http_auth_chal auth_chal
 
pj_int32_t content_length
 
void * data
 
pj_size_t size
 

Detailed Description

This structure describes HTTP response.

Field Documentation

pj_http_auth_chal pj_http_resp::auth_chal

Parsed WWW-Authenticate header, if any.

pj_int32_t pj_http_resp::content_length

The value of content-length header field. -1 if not specified.

void* pj_http_resp::data

Data received

pj_http_headers pj_http_resp::headers

Response headers

pj_str_t pj_http_resp::reason

Reason phrase

pj_size_t pj_http_resp::size

Data size

pj_uint16_t pj_http_resp::status_code

Status code of the request

pj_str_t pj_http_resp::version

HTTP version of the server


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

 


PJLIB-UTIL Open Source, small footprint, and portable asynchronous/caching DNS resolver, text scanner, STUN client, and XML library
Copyright (C) 2006-2009 Teluu Inc.