Skip to main content

Crate wscall_client

Crate wscall_client 

Source
Expand description

Reusable WSCALL client SDK.

This crate exposes WscallClient, event message types, client errors, and the shared attachment model used in requests and events.

Structs§

ClientConnectionEvent
Lifecycle payload emitted when the client establishes a websocket session.
ClientDisconnectEvent
Lifecycle payload emitted when the client loses its websocket session.
EventMessage
Server-originated event delivered to a registered client event handler.
FileAttachment
Shared attachment model used by API calls and events. Inline attachment carried alongside JSON params or event data.
WscallClient
Main async client type used to connect to a WSCALL server.

Enums§

ClientError
Errors produced by the reusable WSCALL client.