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();
Edit this page on Github(opens new window)