Skip to main content

Module client

Module client 

Source
Expand description

Reusable async client for CLI and native frontends.

Structs§

Endpoint
Validated plaintext-loopback, authenticated-root TLS, or WSS endpoint.
GatewayClient
Connected client before its command and event halves are separated.
GatewayEvents
Single-owner framed event reader.
GatewaySender
Cloneable framed command writer.
PairedClient
Token returned while pairing a new client.

Constants§

MAX_PENDING_FRAMES
Maximum number of frames a focused client flow may temporarily defer.

Functions§

token_from_env
Resolves the bearer token expected by the reusable CLI client.