SignalingWebsocket.onClosed()

DESCRIPTION

set callback to be invoked when the websocket connection is closed.

DECLARATION

virtual void onClosed(std::function<void()> callback) = 0

PARAMETERS

callback:
the callback to set.