Pike v8.1 release 6

Module Protocols.SocketIO

Description

This is an implementation of the Socket.IO server-side communication's driver. It basically is a real-time bidirectional object-oriented communication's protocol for communicating between a webbrowser and a server.

This module supports the following features:

  • Passing any arbitrarily deep nested data object

    which can be represented in basic JavaScript datatypes.

  • In addition to the normal JavaScript datatypes, it also

    supports passing (nested) binary blobs in an efficient manner.

  • Every message/event sent, allows for a callback acknowledge

    to be specified.

  • Acknowledge callbacks which will be called when the other side

    actively decides to acknowledge it (not automatically upon message reception).

  • Acknowledgement messages can carry an arbitrary amount of

    data.

The driver uses Protocols.EngineIO as the underlying protocol.

See also

Protocols.EngineIO, Protocols.WebSocket, http://github.com/socketio/socket.io-protocol, http://socket.io/


Variable options

final mapping Protocols.SocketIO.options

Description

Global options for all SocketIO instances.

See also

SocketIO.Universe.farm()