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. 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.

Enums§

Event
What a feed hands back, in the order it happened.
FeedError