Expand description
RPC message router: acts like a network switch, routing messages between named endpoints (routes). Port of Goโs pkg/wshutil/wshrouter.go.
Structsยง
- Channel
RpcClient - MsgAnd
Route ๐ - Route
Info ๐ - Router
Inner ๐ - WshRouter
- RPC message router. Acts like a network switch, routing messages between multiple named endpoints based on route IDs.
Constantsยง
- CLIENT_
CHANNEL_ ๐CAPACITY - An RPC client backed by a tokio mpsc channel.
Messages sent via
send_rpc_messageare forwarded to the receiver. Bounded channel capacity for per-client RPC message buffers. - DEFAULT_
ROUTE - ROUTER_
CHANNEL_ ๐CAPACITY - Bounded channel capacity for the main router message queue.
- ROUTE_
PREFIX_ CONN - ROUTE_
PREFIX_ CONTROLLER - ROUTE_
PREFIX_ FE_ BLOCK - ROUTE_
PREFIX_ PROC - ROUTE_
PREFIX_ TAB - SYS_
ROUTE - TAURI_
ROUTE - UPSTREAM_
ROUTE
Traitsยง
- RpcClient
- Trait for RPC message transport endpoints.
Matches Goโs
AbstractRpcClientinterface.