Skip to content

API Reference


API Reference / MarketFeedWSOptionsWithLogger

Interface: MarketFeedWSOptionsWithLogger

Defined in: src/ws/MarketFeedWS.ts:23

Extends

Properties

token?

optional token?: string

Defined in: src/types/ws.types.ts:135

Inherited from

MarketFeedWSOptions.token


clientId

clientId: string

Defined in: src/types/ws.types.ts:136

Inherited from

MarketFeedWSOptions.clientId


url?

optional url?: string

Defined in: src/types/ws.types.ts:137

Inherited from

MarketFeedWSOptions.url


reconnectDelayMs?

optional reconnectDelayMs?: number

Defined in: src/types/ws.types.ts:138

Inherited from

MarketFeedWSOptions.reconnectDelayMs


maxReconnectDelayMs?

optional maxReconnectDelayMs?: number

Defined in: src/types/ws.types.ts:139

Inherited from

MarketFeedWSOptions.maxReconnectDelayMs


maxReconnectAttempts?

optional maxReconnectAttempts?: number

Defined in: src/types/ws.types.ts:140

Inherited from

MarketFeedWSOptions.maxReconnectAttempts


mode?

optional mode?: MarketFeedMode

Defined in: src/types/ws.types.ts:141

Inherited from

MarketFeedWSOptions.mode


webSocketFactory?

optional webSocketFactory?: (url) => WebSocketLike

Defined in: src/types/ws.types.ts:142

Parameters

url

string

Returns

WebSocketLike

Inherited from

MarketFeedWSOptions.webSocketFactory


tokenProvider?

optional tokenProvider?: () => string | Promise<string>

Defined in: src/types/ws.types.ts:143

Returns

string | Promise<string>

Inherited from

MarketFeedWSOptions.tokenProvider


logger?

optional logger?: Logger

Defined in: src/ws/MarketFeedWS.ts:24

Community project — not affiliated with Dhan. MIT License.