Function
createSession
createSession(connection: Connection, authenticator: Authenticator): SessionUses the provided inputs to create a Session instance.
Parameters
- connection: Connection
connection to use for this session
- authenticator: Authenticator
authenticator to use for this session
Returns Session
- connection: Connection