Skip to main content

Crate beszel_protocol

Crate beszel_protocol 

Source
Expand description

Shared wire types for upstream Beszel realtime payloads and the local Unix socket stream.

Modules§

local
Local NDJSON socket protocol between beszel-relay and desktop shell clients.
upstream
Defensive wire types for Beszel / PocketBase HTTP and SSE payloads.

Constants§

DEFAULT_SOCKET_NAME
Default filename for the user-only Unix domain socket.
LOCAL_PROTOCOL_VERSION
Local NDJSON protocol version spoken between beszel-relay and clients.

Functions§

default_socket_path
Resolve the default Unix socket path under $XDG_RUNTIME_DIR.