http client
[http transport]


Files

file  axis2_http_client.h
 axis2 HTTP Header name:value pair implementation

Classes

struct  axis2_http_client_ops
struct  axis2_http_client

Defines

#define AXIS2_HTTP_CLIENT_SEND(client, env, request)   ((client)->ops->send(client, env, request))
#define AXIS2_HTTP_CLIENT_RECIEVE_HEADER(client, env)   ((client)->ops->recieve_header(client, env))
#define AXIS2_HTTP_CLIENT_GET_RESPONSE(client, env)   ((client)->ops->get_response(client, env))
#define AXIS2_HTTP_CLIENT_SET_URL(client, env, url)   ((client)->ops->set_url(client, env, url))
#define AXIS2_HTTP_CLIENT_GET_URL(client, env)   ((client)->ops->get_url(client, env))
#define AXIS2_HTTP_CLIENT_SET_TIMEOUT(client, env, timeout)
#define AXIS2_HTTP_CLIENT_GET_TIMEOUT(client, env)   ((client)->ops->get_url(client, env))
#define AXIS2_HTTP_CLIENT_SET_PROXY(client, env, proxy_host, proxy_port)
#define AXIS2_HTTP_CLIENT_GET_PROXY(client, env)   ((client)->ops->get_proxy(client, env))
#define AXIS2_HTTP_CLIENT_FREE(client, env)   ((client)->ops->free(client, env))

Typedefs

typedef axis2_http_client_ops axis2_http_client_ops_t
typedef axis2_http_client axis2_http_client_t

Functions

AXIS2_EXTERN axis2_http_client_taxis2_http_client_create (const axis2_env_t *env, axis2_url_t *url)
axis2_status_t axis2_http_client_free_void_arg (void *client, const axis2_env_t *env)

Detailed Description

Description

Define Documentation

#define AXIS2_HTTP_CLIENT_FREE ( client,
env   )     ((client)->ops->free(client, env))

Frees the http client.

See also:
axis2_http_client_ops::free

#define AXIS2_HTTP_CLIENT_GET_PROXY ( client,
env   )     ((client)->ops->get_proxy(client, env))

Gets the proxy.

See also:
axis2_http_client_ops::get_proxy

#define AXIS2_HTTP_CLIENT_GET_RESPONSE ( client,
env   )     ((client)->ops->get_response(client, env))

Gets the response.

See also:
axis2_http_client_ops::get_response

#define AXIS2_HTTP_CLIENT_GET_TIMEOUT ( client,
env   )     ((client)->ops->get_url(client, env))

Gets the timeout.

See also:
axis2_http_client_ops::get_timeout

#define AXIS2_HTTP_CLIENT_GET_URL ( client,
env   )     ((client)->ops->get_url(client, env))

Gets the url.

See also:
axis2_http_client_ops::get_url

#define AXIS2_HTTP_CLIENT_RECIEVE_HEADER ( client,
env   )     ((client)->ops->recieve_header(client, env))

Receive header.

See also:
axis2_http_client_ops::receive_header

#define AXIS2_HTTP_CLIENT_SEND ( client,
env,
request   )     ((client)->ops->send(client, env, request))

Send.

See also:
axis2_http_client_ops::send

#define AXIS2_HTTP_CLIENT_SET_PROXY ( client,
env,
proxy_host,
proxy_port   ) 

Value:

((client)->ops->set_proxy(client, env,\
                        proxy_host, proxy_port))
Sets the proxy.
See also:
axis2_http_client_ops::set_proxy

#define AXIS2_HTTP_CLIENT_SET_TIMEOUT ( client,
env,
timeout   ) 

Value:

((client)->ops->set_timeout(client, env,\
                        timeout))
Sets the timeout.
See also:
axis2_http_client_ops::set_timeout

#define AXIS2_HTTP_CLIENT_SET_URL ( client,
env,
url   )     ((client)->ops->set_url(client, env, url))

Sets the url.

See also:
axis2_http_client_ops::set_url


Typedef Documentation

typedef struct axis2_http_client_ops axis2_http_client_ops_t

Type name for struct axis2_http_client_ops

typedef struct axis2_http_client axis2_http_client_t

Type name for struct axis2_http_client


Function Documentation

AXIS2_EXTERN axis2_http_client_t* axis2_http_client_create ( const axis2_env_t env,
axis2_url_t url 
)

Parameters:
env pointer to environment struct
url pointer to url

axis2_status_t axis2_http_client_free_void_arg ( void *  client,
const axis2_env_t env 
)

Free http_client passed as void pointer. This will be cast into appropriate type and then pass the cast object into the http_client structure's free method

Parameters:
client 
env pointer to environment struct


Generated on Tue Oct 3 20:48:10 2006 for Axis2/C by  doxygen 1.4.7