GProxyInterface

Provides an interface for handling proxy connection and payload.

Members

Variables

connect
GIOStream* function(GProxy* proxy, GIOStream* connection, GProxyAddress* proxyAddress, GCancellable* cancellable, GError** _err) connect;

Connect to proxy server and wrap (if required) the #connection to handle payload.

connectAsync
void function(GProxy* proxy, GIOStream* connection, GProxyAddress* proxyAddress, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) connectAsync;

Same as connect() but asynchronous.

connectFinish
GIOStream* function(GProxy* proxy, GAsyncResult* result, GError** _err) connectFinish;

Returns the result of connect_async()

gIface
GTypeInterface gIface;

The parent interface.

supportsHostname
bool function(GProxy* proxy) supportsHostname;

Returns whether the proxy supports hostname lookups.