Skip to content

API Reference


API Reference / MarketFeedWSOptions

Interface: MarketFeedWSOptions ​

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

Extended by ​

Properties ​

token? ​

optional token?: string

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


clientId ​

clientId: string

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


url? ​

optional url?: string

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


reconnectDelayMs? ​

optional reconnectDelayMs?: number

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


maxReconnectDelayMs? ​

optional maxReconnectDelayMs?: number

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


maxReconnectAttempts? ​

optional maxReconnectAttempts?: number

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


mode? ​

optional mode?: MarketFeedMode

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


webSocketFactory? ​

optional webSocketFactory?: (url) => WebSocketLike

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

Parameters ​

url ​

string

Returns ​

WebSocketLike


tokenProvider? ​

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

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

Returns ​

string | Promise<string>

Community project — not affiliated with Dhan. MIT License.