connect
Signature Establish a connection to a OneApi Gateway.
Only one connection should be established at any one time. Calling connect will destroy any previous sessions.
Returns Promise <Session > A promise resolving to a Session if the connection was successful or rejecting with a
StatusCode otherwise.
Also in this Section Functions - connect - getExchangeCode Interfaces - ConflationParameters - ConnectParameters - DataSource - Dictionary - Field - FieldInfo - HistoryOptions - IntradayOptions - IQueryHandler - ISnapshotHandler - ISubscriptionHandler - ITimeSeriesHandler - Metadata - Session - SnapshotFailureMessage - SnapshotParameters - SubscriptionParameters - SubscriptionStatusMessage - Symbology - TagQuery - TickOptions - TimeSeriesFailureMessage - TopicRequest Classes - Date - DateTime - FieldData - Handle - HighResDate - QueryHandle - QueryMessage - QueryResult - Rational - SnapshotHandle - SnapshotMessage - SnapshotResult - StreamHandle - SubscriptionHandle - SubscriptionMessage - SubscriptionResult - Time - TimeSeriesHandle - TimeSeriesMessage - TimeSeriesResult - TopicId - TRational Enumerations - ConflationInterval - ConflationType - DataSourceId - DenominatorType - DictionaryId - EventType - Exchange - FieldId - FieldType - HistoryInterval - IntradayBarFlag - IntradayFilter - IntradayInterval - LogType - PermissionId - PlatformFieldId - StatusCode - SubscriptionState - SymbologyId - SymbolSeparator - TableNumber - TickFilter - TickType - TopicSubscriptionState - TopicType - Trend - UpdateType Type aliases - FieldValue - HandlerResult