Module medea_jason::rpc
source · Expand description
Abstraction over RPC transport.
Modules
- Wrapper around WebSocket based transport that implements
Room
management. - Implementation of the abstractions around WebSocket transport.
Structs
Url
to which transport layer will connect.ExponentialBackoff
adapted for the used async runtime.- Information about
RpcSession
connection. - Detector of connection loss via ping/pong mechanism.
- Idle timeout of
WebSocketRpcClient
. - Ping interval of
WebSocketRpcClient
. - External handle used to reconnect to a media server when connection is lost.
- Client API RPC client to talk with server via WebSocket.
- Client to talk with server via Client API RPC.
Enums
- Reasons of closing WebSocket RPC connection by a client side.
- Connection with remote was closed.
- Reasons of closing by client side and server side.
- The reason of why
WebSocketRpcClient
/platform::RpcTransport
went into a closed state. - Errors which can occur while
ConnectionInfo
parsing from thestr
. - Reason of why
WebSocketRpcClient
/platform::RpcTransport
lost connection with a server. - Errors occurring in a
ReconnectHandle
. - Errors that may occur in
WebSocketRpcClient
. - Events which can be thrown by
WebSocketRpcClient
. - Errors which can be returned from the
WebSocketRpcSession
. - State for the
WebSocketRpcSession
.
Traits
- Client to talk with server via Client API RPC.