Module network_client

Source
Available on crate feature network-client only.
Expand description

HTTP transport trait and implementations.

Structs§

HttpClient
Client that can synchronize with a server over HTTP(S).
ListenOptionslisten
Options used when listening for change notifications.
NetworkRetryNon-WebAssembly
Network retry state and logic for exponential backoff.
WebSocketHandlelisten
Handle to a websocket listener.
WebSocketRequestlisten or pairing
Build a websocket connection request.

Functions§

changeslisten
Read change messages from a websocket stream, and decode to change notifications that can be processed.
connectlisten
Create the websocket connection and listen for events.
set_user_agent
Set user agent for requests.