SDK
SDK C# v2.x
2

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 #

PropertyType
(default)
Descriptionwritable
AutoReconnect
bool

(false)
Try to reestablish connection on an unexpected network lossyes
KeepAlive
string

(false)
Actively keep the connection aliveyes
ReconnectionDelay
int

(1000)
Number of milliseconds between 2 automatic reconnections attemptsyes
ReconnectionRetries
int

(20)
Maximum number of automatic reconnections attemptsyes