Skip to main content

Module socket

Module socket 

Source
Expand description

The websocket for native programs: a Feed carries one crate::live::Session over tokio-tungstenite and hands back crate::live::Events. Subscriptions made while down are sent on the next open; a post made while down is refused, and one cut off by a drop is reported, never resent.

Structsยง

Feed
One websocket connection, kept open. Dropping the feed closes it.