API Reference WebSock v0.5.0

modules

Modules

Defines a behaviour which defines an interface for web servers to flexibly host WebSocket applications. It is commonly used in conjunction with the websock_adapter package which defines concrete adapters on top of Bandit and Cowboy; the two packages are separate to allow for servers which directly expose WebSock support to depend on just the behaviour. Users will almost always want to depend on websock_adapter instead of this package.