Home > @world-wide-lab/client > Client > createSession
Client.createSession() method
Start a new Session. If a participant's id is stored, it will be used. see getParticipant().
Signature:
typescript
createSession(sessionOptions: ClientSessionOptions): Promise<Session>;
Parameters
Parameter | Type | Description |
---|---|---|
sessionOptions | Options to create the session with |
Promise<Session>
A new Session instance