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.