Module client

Module client 

Source

Structs§

ChannelCallbackEvent
Client
Synchronous websocket client that interfaces with Supabase Realtime
ClientBuilder
Builder struct for [RealtimeClient]
ClientManager
ConnectResultCallbackEvent
ReconnectFn
Takes a Box<dyn Fn(usize) -> Duration> The provided function should take a count of reconnect attempts and return a Duration to wait until the next attempt is made.

Enums§

ClientManagerMessage
ConnectError
Error returned by [RealtimeClient::connect()]
ConnectionState
Connection state of [RealtimeClient]
MonitorError
Error returned by the internal monitor of [RealtimeClient]
NextMessageError
Error returned by [RealtimeClient::next_message()]. Can be WouldBlock
SocketError
Error type for internal socket related errors in [RealtimeClient]

Type Aliases§

Response
WebSocket