ClientApiEvents

PubSub.ClientApiEvents

Methods

message

message(message): void

A new message has been received.

Parameters

NameType
messagePubSubMessage<PubSubMessageContract>

Returns

void


session.expiring

session.expiring(): void

The session is going to expire. Use the updateToken method to refresh your token.

Returns

void