Abstract Unique client id per server instance. This incremental value is resetted once the process is restarted.
Protected callbackReadonly clientInformation about the client connected to the WebSocket.
Protected connectionThe WebSocket connection object representing the connection to the client.
Describes the clients auth state
Protected expectedPrivate expectedCan be used to store session credentials.
Static routerRefers to a websocket router instance.
Gets the ID of the WebSocket connection.
True if the connection has been closed
True if outbound caching is supported by the client.
Calculates the modified rows of data, that have been changed since the last time data was cached.
The method of the associated Outbound.
The data returned from the outbound function.
Optional isPartial: booleanTrue when a part of the data is only present
the data changes (inserted, updated, deleted)
Outbound request config is used to store the length of entries, that have been previously requested by this client for partially sent outbounds.
The method of the outbound
the outbound request config
Abstract handleProtected onProtected onOutbound request config is used to store the length of entries, that have been previously requested by this client for partially sent outbounds.
The method of the outbound
The length of entries that have been requested.
Updates the cached outbound data for the associated outbound method.
The method of the associated Outbound.
The contents that have been added since the last time.
The contents that have been modified since the last time.
The contents that have been removed since the last time.
Protected withStatic addAdds a close handler to be called when the connection is closed.
The callback function to be called on connection close.
Static Protected getStatic waitGenerated using TypeDoc
Deprecated
Use TCWrapper instead.