Disconnect Event
Fires to report a disconnected client.
Syntax
ANSI (Cross Platform) virtual int FireDisconnect(WebSocketServerDisconnectEventParams *e);
typedef struct {
int64 ConnectionID; int reserved; } WebSocketServerDisconnectEventParams; Unicode (Windows) virtual INT FireDisconnect(WebSocketServerDisconnectEventParams *e);
typedef struct {
LONG64 ConnectionID; INT reserved; } WebSocketServerDisconnectEventParams;
- (void)onDisconnect:(long long)connectionID;
#define EID_WEBSOCKETSERVER_DISCONNECT 7 virtual INT SECUREBLACKBOX_CALL FireDisconnect(LONG64 &lConnectionID);
Remarks
The class fires this event when a connected client disconnects.