Protected
Readonly
busProtected
Readonly
configPrivate
connectedProtected
Readonly
loggingProtected
Readonly
requestProtected
Readonly
serialProtected
shouldIf true, the session will be loaded when an event is received and persisted after the event's handlers have executed.
If an event has no handlers, the session will NOT be loaded.
Use disableSessionLoad()
to disable.
disableSessionLoad
Protected
subscriptionsList of local subscriptions on this bus.
Readonly
uuidProtected
Readonly
wsDisables re-loading & persisting the session when an event with listeners is received.
shouldLoadSessionOnEvent
Get a Promise that resolves then the socket closes.
Protected
onProtected
registerProtected
Set up an interval that fires a WebSocketHealthCheckEvent
on the request bus.
This can be used, e.g., to check if the user is still logged in.
You can control the interval by setting the server.socket.healthCheckIntervalSeconds
config option. Set the option to 0 to disable the interval.
Singletons that implement this interface receive callbacks for structural container events.