Connection
Class representing instance of Connection
Methods
getConnectionId
Gets the ID of the current connection.
getConnectionId()
Type | Description |
---|---|
Promise<number> | ID of the connection |
listContexts
Gets a list of Contexts available for the user.
listContexts(pagingQuery)
Name | Type | Description |
---|---|---|
pagingQuery | PagingQuery | struct with list query parameters |
Type | Description |
---|---|
Promise<PagingList<Context>> | struct containing a list of Contexts |
disconnect
Disconnects from the Platform backend.
disconnect()