SignalingWebsocket.onError()

DESCRIPTION

set callback to be invoked if an error occurs on the websocket connection.

DECLARATION

virtual void onError(
      std::function<void(const std::string& error)> callback) = 0

PARAMETERS

callback:
the callback to set.