WebsocketExtensionDeflate

Constructors

this
this(SoupWebsocketExtensionDeflate* soupWebsocketExtensionDeflate, bool ownedRef)

Sets our main struct and passes it to the parent class.

Members

Functions

getStruct
void* getStruct()

the main Gtk struct as a void*

getWebsocketExtensionDeflateStruct
SoupWebsocketExtensionDeflate* getWebsocketExtensionDeflateStruct(bool transferOwnership)

Get the main Gtk struct

Static functions

getType
GType getType()

Variables

soupWebsocketExtensionDeflate
SoupWebsocketExtensionDeflate* soupWebsocketExtensionDeflate;

the main Gtk struct

Inherited Members

From WebsocketExtension

soupWebsocketExtension
SoupWebsocketExtension* soupWebsocketExtension;

the main Gtk struct

getWebsocketExtensionStruct
SoupWebsocketExtension* getWebsocketExtensionStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
configure
bool configure(SoupWebsocketConnectionType connectionType, HashTable params)

Configures @extension with the given @params

getRequestParams
string getRequestParams()

Get the parameters strings to be included in the request header. If the extension doesn't include any parameter in the request, this function returns %NULL.

getResponseParams
string getResponseParams()

Get the parameters strings to be included in the response header. If the extension doesn't include any parameter in the response, this function returns %NULL.

processIncomingMessage
Bytes processIncomingMessage(ubyte header, Bytes payload)

Process a message after it's received. If the payload isn't changed the given @payload is just returned, otherwise g_bytes_unref() is called on the given @payload and a new #GBytes is returned with the new data.

processOutgoingMessage
Bytes processOutgoingMessage(ubyte header, Bytes payload)

Process a message before it's sent. If the payload isn't changed the given @payload is just returned, otherwise g_bytes_unref() is called on the given @payload and a new #GBytes is returned with the new data.

Meta