pub async fn connect(
config: &KalshiDataClientConfig,
message_handler: MessageHandler,
) -> Result<WebSocketClient>Expand description
Opens a raw handler-mode connection with freshly signed static headers.
This low-level entry point does not manage subscriptions, transparent reconnection, or application recovery.
ยงErrors
Returns an error if configuration, credentials, signing, or connection establishment fails.