WebSocket #
The WebSocket protocol can be used by an instance of the SDK to communicate with your Kuzzle server.
This protocol allows you to use all the features of Kuzzle, including real-time notifications.
Namespace #
You must include the following namespace:
using KuzzleSdk.Protocol;
Properties #
Property | Type (default) | Description | writable |
---|---|---|---|
AutoReconnect | bool ( false ) | Try to reestablish connection on an unexpected network loss | yes |
KeepAlive | string ( false ) | Actively keep the connection alive | yes |
ReconnectionDelay | int ( 1000 ) | Number of milliseconds between 2 automatic reconnections attempts | yes |
ReconnectionRetries | int ( 20 ) | Maximum number of automatic reconnections attempts | yes |
Edit this page on Github(opens new window)