Typedefs | Enumerations | Functions

Vortex HTTP CONNECT API: support for BEEP connections through HTTP proxy

Typedefs

typedef struct _VortexHttpSetup VortexHttpSetup
 Connection setup object.

Enumerations

enum  VortexHttpConfItem { VORTEX_HTTP_CONF_ITEM_PROXY_HOST = 1, VORTEX_HTTP_CONF_ITEM_PROXY_PORT = 2, VORTEX_HTTP_CONF_ITEM_CONN_OPTS = 3 }
 

Configurations allowed to be set on VortexHttpSetup.

More...

Functions

axl_bool vortex_http_connection_is_proxied (VortexConnection *conn)
 Allows to check if the provided connection was created by using vortex_http_connection_new.
VortexConnectionvortex_http_connection_new (const char *host, const char *port, VortexHttpSetup *setup, VortexConnectionNew on_connected, axlPointer user_data)
 Creates a new BEEP connection to a remote BEEP server, by connecting to a HTTP server supporting HTTP CONNECT method (proxy server).
void vortex_http_setup_conf (VortexHttpSetup *setup, VortexHttpConfItem item, axlPointer value)
 Allows to configure a particular value (VortexHttpConfItem) on the provided setup (VortexHttpSetup).
VortexHttpSetupvortex_http_setup_new (VortexCtx *ctx)
 Allows to create a VortexHttpSetup object which is used to configure the HTTP CONNECT implementation.
axl_bool vortex_http_setup_ref (VortexHttpSetup *setup)
 Allows to increment the reference counting associated to the VortexHttpSetup object.
void vortex_http_setup_unref (VortexHttpSetup *setup)
 Terminates the VortexHttpSetup reference provided.