Refinitiv Data Library for TypeScript

Session.Definition

Summary

A SessionDefinition holds all the parameters defining a session. Once the session defined, getSession() must be called to creates and return the session.

Methods

getSession(): Session

Allows you to create a session.

Returned value: Session.Session instance.


Example of usage

const sessionDefinition = Session.Desktop.Definition({ appKey: process.env.APP_KEY! });

const session = sessionDefinition.getSession();