SDK
SDK C++ v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

This SDK has been deprecated because of stability issues. It is not advised to use it in a production environment.

WebSocket class getters #

getPort #

Returns the port number used by the protocol instance.

Arguments #

unsigned int getPort()

isSslConnection #

Returns a boolean indicating if the protocol instance is using SSL or not.

Arguments #

bool isSslConnection()

Usage #

kuzzleio::WebSocket *protocol = new kuzzleio::WebSocket("kuzzle");
unsigned int port = protocol->getPort();
bool ssl_connection = protocol->isSslConnection();