API Reference/PrivMX Endpoint Web/Api reference
Connection
Class representing instance of Connection
Fields
apisRefs
{ [apiId: string]: { _apiServicePtr: number } }
nativeApisDeps
{ [apiId: string]: BaseNative }
native
ConnectionNative
Methods
getConnectionId
Gets the ID of the current connection.
Returns
Promise<number>
·
ID of the connection
listContexts
Gets a list of Contexts available for the user.
Params
pagingQuery
PagingQuery
struct with list query parameters
Returns
Promise<PagingList<Context>>
·
struct containing a list of Contexts
disconnect
Disconnects from the Platform backend.
We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.