Skip to main content
reference

Connection

Class representing instance of Connection

Methods

getConnectionId

Gets the ID of the current connection.

getConnectionId()

TypeDescription
Promise<number> ID of the connection

listContexts

Gets a list of Contexts available for the user.

listContexts(pagingQuery)

NameTypeDescription
pagingQueryPagingQuerystruct with list query parameters

TypeDescription
Promise<PagingList<Context>> struct containing a list of Contexts

disconnect

Disconnects from the Platform backend.

disconnect()