API Reference Sock v0.2.0

modules

Modules

The Sock behaviour defines an interface for web servers to flexibly host WebSocket applications.

A protocol to provide the ability for Sock implementations to send data to a connected WebSocket client. An instance of an (otherwise opaque) type conforming to this protocol is passed in to Sock implementations as the first argument of most Sock callbacks.