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_t * | axis2_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) |
#define AXIS2_HTTP_CLIENT_FREE | ( | client, | |||
env | ) | ((client)->ops->free(client, env)) |
Frees the http client.
#define AXIS2_HTTP_CLIENT_GET_PROXY | ( | client, | |||
env | ) | ((client)->ops->get_proxy(client, env)) |
Gets the proxy.
#define AXIS2_HTTP_CLIENT_GET_RESPONSE | ( | client, | |||
env | ) | ((client)->ops->get_response(client, env)) |
Gets the response.
#define AXIS2_HTTP_CLIENT_GET_TIMEOUT | ( | client, | |||
env | ) | ((client)->ops->get_url(client, env)) |
Gets the timeout.
#define AXIS2_HTTP_CLIENT_GET_URL | ( | client, | |||
env | ) | ((client)->ops->get_url(client, env)) |
Gets the url.
#define AXIS2_HTTP_CLIENT_RECIEVE_HEADER | ( | client, | |||
env | ) | ((client)->ops->recieve_header(client, env)) |
Receive header.
#define AXIS2_HTTP_CLIENT_SEND | ( | client, | |||
env, | |||||
request | ) | ((client)->ops->send(client, env, request)) |
Send.
#define AXIS2_HTTP_CLIENT_SET_PROXY | ( | client, | |||
env, | |||||
proxy_host, | |||||
proxy_port | ) |
Value:
((client)->ops->set_proxy(client, env,\ proxy_host, proxy_port))
#define AXIS2_HTTP_CLIENT_SET_TIMEOUT | ( | client, | |||
env, | |||||
timeout | ) |
Value:
((client)->ops->set_timeout(client, env,\ timeout))
#define AXIS2_HTTP_CLIENT_SET_URL | ( | client, | |||
env, | |||||
url | ) | ((client)->ops->set_url(client, env, url)) |
Sets the url.
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
AXIS2_EXTERN axis2_http_client_t* axis2_http_client_create | ( | const axis2_env_t * | env, | |
axis2_url_t * | url | |||
) |
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
client | ||
env | pointer to environment struct |