Class: ConnectionDetails
Provides information about the connection to the Squid Server.
Accessors
clientId
• get
clientId(): string
A unique client ID that is assigned to the client. This client ID is also available to the different backend function in the context object. Note: The client ID may change after a long disconnect.
Returns
string
connected
• get
connected(): boolean
Whether the Squid Client SDK is currently connected to the Squid Server.
Returns
boolean
Methods
observeConnected
▸ observeConnected(): Observable
<boolean
>
Returns an observable that emits true when the client is connected to the server and false when the client is disconnected from the server.
Returns
Observable
<boolean
>