httpsession.h File Reference

#include <aqbanking/banking.h>
#include <gwenhywfar/inherit.h>
#include <gwenhywfar/misc.h>
#include <gwenhywfar/url.h>
#include <gwenhywfar/nl_http.h>

Go to the source code of this file.

Session Flags

#define AB_HTTPSESSION_FLAGS_ALLOW_REDIRECT   0x00000001
#define AB_HTTPSESSION_FLAGS_REUSE   0x00000002
#define AB_HTTPSESSION_FLAGS_SECURE_SSL   0x00000004
#define AB_HTTPSESSION_DEFAULT_CONNECT_TIMEOUT   30
#define AB_HTTPSESSION_DEFAULT_TRANSFER_TIMEOUT   60

Constructor/Destructor

AB_HTTPSESSIONAB_HttpSession_new (AB_PROVIDER *pro, AB_USER *u)
void AB_HttpSession_free (AB_HTTPSESSION *hc)

Getters for Related Objects

AB_USERAB_HttpSession_GetUser (const AB_HTTPSESSION *hc)
AB_PROVIDERAB_HttpSession_GetProvider (const AB_HTTPSESSION *hc)

Settings

GWEN_TYPE_UINT32 AB_HttpSession_GetSessionId (const AB_HTTPSESSION *hc)
GWEN_NETLAYER_HTTP_VERSION AB_HttpSession_GetHttpVersion (const AB_HTTPSESSION *hc)
void AB_HttpSession_SetHttpVersion (AB_HTTPSESSION *hc, GWEN_NETLAYER_HTTP_VERSION v)
GWEN_TYPE_UINT32 AB_HttpSession_GetFlags (const AB_HTTPSESSION *hc)
void AB_HttpSession_SetFlags (AB_HTTPSESSION *hc, GWEN_TYPE_UINT32 f)
void AB_HttpSession_AddFlags (AB_HTTPSESSION *hc, GWEN_TYPE_UINT32 f)
void AB_HttpSession_SubFlags (AB_HTTPSESSION *hc, GWEN_TYPE_UINT32 f)
int AB_HttpSession_GetConnectTimeout (const AB_HTTPSESSION *hc)
void AB_HttpSession_SetConnectTimeout (AB_HTTPSESSION *hc, int i)
int AB_HttpSession_GetTransferTimeout (const AB_HTTPSESSION *hc)
void AB_HttpSession_SetTransferTimeout (AB_HTTPSESSION *hc, int i)

Transfer Functions

int AB_HttpSession_Open (AB_HTTPSESSION *hc)
void AB_HttpSession_Close (AB_HTTPSESSION *hc)
int AB_HttpSession_SendRequest (AB_HTTPSESSION *hc, const char *command, const GWEN_URL *url, GWEN_DB_NODE *dbSendHeader, const char *pSendBody, int lSendBody, GWEN_BUFFER *recvBuf)

Typedefs

typedef AB_HTTPSESSION AB_HTTPSESSION


Generated on Tue Apr 10 19:04:09 2007 for aqbanking by  doxygen 1.4.7