PingAccess Agent SDK for C
Public Attributes | List of all members
paa_http_client_struct Struct Reference

#include <paa-http-client.h>

Public Attributes

void * impl
 
apr_status_t(* create_context )(const paa_http_client *client, apr_pool_t *pool, const paa_http_context **context)
 

Detailed Description

HTTP client interface

Member Data Documentation

apr_status_t(* paa_http_client_struct::create_context) (const paa_http_client *client, apr_pool_t *pool, const paa_http_context **context)

Creates a new paa_http_context instance to be used to configure a request, send a request and handle the response. This function needs to be thread-safe.

Parameters
clientthe client handle
poolthe pool in which to allocate data
contextthe context handle – populated on success. This handle should only ever be accessed from a single thread.
Returns
APR_SUCCESS on success
APR_PAA_HTTP_ERROR on error
void* paa_http_client_struct::impl

opaque implementation handle


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