SilentShardWebsocketClient
Default NetworkClient, implementing the transport over Ktor WebSockets.
It opens a session against the URL built from websocketConfig and the WebsocketAction being run, forwards the configured authentication token as the first message, and frames protocol traffic as binary and text WebSocket frames. The underlying Ktor io.ktor.client.HttpClient is created on connect and released on disconnect, so the client holds no transport resource between connections — an idle client, or one that only ran a local helper, owns nothing.
The type parameter T is the WebsocketAction subtype this client routes; connect narrows the generic action to T before dispatching. Use the class directly, or subclass it to override connect, framing, or logging while reusing the send/read machinery.
Parameters
the WebsocketAction subtype this client accepts.
the endpoint and authentication configuration.
Functions
Perform websocket disconnection with another party, releasing the engine that backed the connection.
PostRequestCapable implementation for the ECDSA pre-sign-final step: POSTs body as application/octet-stream.
String/JSON convenience beyond the PostRequestCapable contract: test scaffolding uses it for request-response steps such as backup/export.