Lightstreamer.Transport.MintWs (Lightstreamer v0.1.0)

Copy Markdown View Source

Production Lightstreamer.Transport on Mint and Mint.WebSocket.

A small GenServer owns the Mint connection: connect/2 blocks until the WebSocket upgrade (subprotocol TLCP-2.5.0.lightstreamer.com) completes, then inbound text frames flow to the owner as {:transport, t, {:text, _}} messages. Frames may be fragmented or coalesced relative to server lines — the session's line buffering absorbs that. Pings are answered here; a close frame or transport error surfaces as {:transport, t, :closed}.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.