Skip to content

API Reference

This reference is generated from Gleam's docs metadata for beryl, beryl_ewe, and beryl_mist.

ModuleDescription
berylberyl - Type-safe real-time communication
beryl/bridgeBridge - Forward an external OTP actor's message stream to a socket channel.
beryl/channelChannel - Topic-based message callbacks
beryl/errorShared beryl-owned error helpers.
beryl/groupChannel Groups - Named collections of topics for multi-topic broadcasting
beryl/presencePresence - Distributed presence tracking backed by a CRDT
beryl/presence/wirePhoenix-compatible wire encoding for presence diffs.
beryl/pubsubPubSub - Distributed publish/subscribe using Erlang pg
beryl/socketSocket - Connected client with typed state
beryl/statsLocal coordinator statistics.
beryl/supervisorOTP supervision tree for beryl subsystems.
beryl/topicTopic - Pattern matching for channel routing
beryl/transportTransport SPI — the contract between beryl core and WebSocket transport
beryl/wirePhoenix Wire Protocol — encoding/decoding helpers and the canonical
beryl/wire/codecPluggable wire codec for beryl.
ModuleDescription
beryl_eweEwe WebSocket Transport - Direct Ewe integration for beryl
ModuleDescription
beryl_mistMist WebSocket Transport - Direct Mist integration for beryl