Optional
options: Partial<ManagerOptions & SocketOptions>Protected
clientProtected
socketIOOptionsProtected
subscriptionProtected
subscriptionsOptional
organizationOptional
userProtected
getProtected
getProtected
getProtected
getProtected
getProtected
handleProtected
handleProtected
handlePing the backend service to check that it is alive and well
Register callback for relevant events for the given organizationId This will set up a new socket connection if not currently connected.
If the given org is not currently subscribed, it will send a subscribe event to the backend, otherwise do nothing.
When message events occur, onMessage will be called.
Register callback for relevant events for the given userId This will set up a new socket connection if not currently connected.
If the given org is not currently subscribed, it will send a subscribe event to the backend, otherwise do nothing.
When message events occur, onMessage will be called.
Generated using TypeDoc
On setup, we can call getRequiredVersion and ping() to confirm that the service exists and that it is of a matching version semantically E.g. if required version is ~2.5 and the api returns 2.6.3, then no issue If returns 3.0.1, should log a warning If returns 1.0.2, should throw error saying it isn't new enough