emitEvent

Emits an event.

Signature

Copied to clipboard!
void emitEvent(kuzzleio::Event event);

Arguments

Argument Type Description
event
kuzzleio::Event
An enum representing the listener event

event

One of the following event:

Copied to clipboard!
CONNECTED
DISCARDED
DISCONNECTED
LOGIN_ATTEMPT
NETWORK_ERROR
OFFLINE_QUEUE_POP
OFFLINE_QUEUE_PUSH
QUERY_ERROR
RECONNECTED
JWT_EXPIRED
ERROR