API reference
This reference uses Gleam docs metadata for beryl, beryl_ewe, and beryl_mist.
beryl 0.5.0
Section titled “beryl 0.5.0”-
berylberyl: type-safe real-time communication
-
beryl/bridgeForward an external OTP actor's message stream to a socket through its
Sender. -
beryl/channelThe channel composition surface: a channel is a topic pattern paired with a typed
joincallback and callbacks over private state. -
beryl/errorShared beryl-owned error helpers.
-
beryl/groupTopic groups
-
beryl/overloadAdmission limits for local beryl work.
-
beryl/presenceDistributed presence tracking with a CRDT
-
beryl/presence/wirePhoenix-compatible wire encoding for presence diffs.
-
beryl/pubsubDistributed PubSub with Erlang
pg -
beryl/snapshotA point-in-time snapshot of local runtime state.
-
beryl/socketTypes for building app-side dispatch systems with
beryl.child_spec. -
beryl/topicPattern matching for topic routing.
-
beryl/transportTransport SPI: the contract between beryl core and WebSocket transport implementations such as the
beryl_mistandberyl_ewepackages. -
beryl/transport/originOrigin and handshake-version checks for WebSocket upgrades.
-
beryl/transport/serverServer-agnostic WebSocket transport infrastructure.
-
beryl/wirePhoenix wire protocol: encoding and decoding helpers and the canonical
phoenix_codec()forberyl/wire/codec. -
beryl/wire/codecPluggable wire codec for beryl.
beryl_ewe 0.2.3
Section titled “beryl_ewe 0.2.3”-
beryl_eweEwe WebSocket transport for beryl
beryl_mist 0.4.0
Section titled “beryl_mist 0.4.0”-
beryl_mistMist WebSocket transport for beryl
