WebsocketExtensionDeflate

A SoupWebsocketExtensionDeflate is a class@WebsocketExtension implementing permessage-deflate (RFC 7692).

This extension is used by default in a class@Session when class@WebsocketExtensionManager feature is present, and always used by class@Server.

Constructors

this
this(void* ptr, Flag!"Take" take)

Members

Functions

self
WebsocketExtensionDeflate self()

Returns this, for use in with statements.

Properties

_gType
GType _gType [@property getter]

Static functions

_getGType
GType _getGType()

Inherited Members

From WebsocketExtension

_getGType
GType _getGType()
_gType
GType _gType [@property getter]
self
WebsocketExtension self()

Returns this, for use in with statements.

getRequestParams
string getRequestParams()

Get the parameters strings to be included in the request header.

getResponseParams
string getResponseParams()

Get the parameters strings to be included in the response header.

processIncomingMessage
glib.bytes.Bytes processIncomingMessage(ubyte header, glib.bytes.Bytes payload)

Process a message after it's received.

processOutgoingMessage
glib.bytes.Bytes processOutgoingMessage(ubyte header, glib.bytes.Bytes payload)

Process a message before it's sent.