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

Data Structures | Macros | Typedefs | Functions
http_client.h File Reference

Simple HTTP Client. More...

Go to the source code of this file.

Data Structures

struct  pj_http_header_elmt
 
struct  pj_http_headers
 
struct  pj_http_auth_cred
 
struct  pj_http_req_param
 
struct  pj_http_req_param::pj_http_reqdata
 
struct  pj_http_auth_chal
 
struct  pj_http_resp
 
struct  pj_http_url
 
struct  pj_http_req_callback
 

Macros

#define PJ_HTTP_HEADER_SIZE   32
 

Typedefs

typedef struct pj_http_req pj_http_req
 

Functions

void pj_http_req_param_default (pj_http_req_param *param)
 
pj_status_t pj_http_headers_add_elmt (pj_http_headers *headers, pj_str_t *name, pj_str_t *val)
 
pj_status_t pj_http_headers_add_elmt2 (pj_http_headers *headers, char *name, char *val)
 
pj_status_t pj_http_req_parse_url (const pj_str_t *url, pj_http_url *hurl)
 
pj_status_t pj_http_req_create (pj_pool_t *pool, const pj_str_t *url, pj_timer_heap_t *timer, pj_ioqueue_t *ioqueue, const pj_http_req_param *param, const pj_http_req_callback *hcb, pj_http_req **http_req)
 
void pj_http_req_set_timeout (pj_http_req *http_req, const pj_time_val *timeout)
 
pj_status_t pj_http_req_start (pj_http_req *http_req)
 
pj_status_t pj_http_req_cancel (pj_http_req *http_req, pj_bool_t notify)
 
pj_status_t pj_http_req_destroy (pj_http_req *http_req)
 
pj_bool_t pj_http_req_is_running (const pj_http_req *http_req)
 
void * pj_http_req_get_user_data (pj_http_req *http_req)
 

Detailed Description

Simple HTTP Client.

 


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.