WebSocket Connection
Description
Establish WebSocket connection with authentication headers.
Request Path And Method
wss path:
/ws/api
method:
connect
Authentication Headers
| Name | Type | Required | Description |
|---|---|---|---|
| Signalplus-API-Signature | string | true | Signature (same as the API signature method) |
| Signalplus-API-Nonce | string | true | Nonce |
| Signalplus-API-Timestamp | long | true | Valid timestamp, for example: 1672387200000 |
| Authorization | string | true | Sign Key, for example: Bearer ApiKey |
Notes
A subscription request may receive an immediate response, similar to a REST API. The response can be matched by the rid parameter, allowing you to convert an asynchronous API into a synchronous one. After a successful subscription, the WebSocket session will push notifications for the subscribed channel at the frequency specified in the subscription request.