Pike v8.1 release 6

Module Protocols.WebSocket

Description

This module implements the WebSocket protocol as described in RFC 6455.


Constant deflate_default_options

constant Protocols.WebSocket.deflate_default_options

Description

Global default options for all WebSocket connections using the permessage-deflate extension.

See also

permessagedeflate


Typedef extension_factory

typedef function(bool, mapping, mapping:object)|program Protocols.WebSocket.extension_factory

Description

Extension factories are used during connection negotiation to create the Extension objects for a Connection.


Typedef message_callback

typedef function(Frame, mixed:void) Protocols.WebSocket.message_callback