Documentation
¶
Overview ¶
Package stream is the AppEngine live event socket (docs/DESIGN.md §3.7, §1.1 deviation; ROADMAP §8.2 file 7.9): a WebSocket (with an SSE fallback) at /astrate/v1/{realm}/socket fed by the engine's in-process fan-out bus. Subscribers receive the realm's committed data and device lifecycle events as JSON; an a_ch JWT guards the endpoint, and device_id/interface query parameters narrow the room.
This is a deliberate departure from upstream Astarte's Phoenix Channels wire protocol (docs/DESIGN.md §1.1): the surface is a plain WebSocket/SSE, not phx_join frames, so it is documented as Astrate-specific.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.