API Reference WebSock v0.4.2

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_adapters 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_adapters instead of this package.