Nutrient Web SDK

Class InstantClient

An InstantClient describes a single connection of a given user with the server.

This class is only available if you have a valid Nutrient Instant license.

You can retrieve an instance of InstantClient by using Instance#connectedClients.

ClassServer

Properties

clientId

ReadonlyServer
string

A unique ID string for every connected client. It does not persist across client reconnects.

userId

Server
string | null | undefined

A user ID of the client. This ID is supplied by your backend. If the value is null, the client is considered anonymous.