API Reference / RequestOptions
Interface: RequestOptions<TBody>
Defined in: src/client/HttpClient.ts:25
Type Parameters
TBody
TBody = unknown
Properties
method
method:
HttpMethod
Defined in: src/client/HttpClient.ts:26
url
url:
string
Defined in: src/client/HttpClient.ts:27
data?
optionaldata?:TBody
Defined in: src/client/HttpClient.ts:28
params?
optionalparams?:Record<string,unknown>
Defined in: src/client/HttpClient.ts:29
headers?
optionalheaders?:Record<string,string>
Defined in: src/client/HttpClient.ts:30
safeToRetry?
optionalsafeToRetry?:boolean
Defined in: src/client/HttpClient.ts:31
tier?
optionaltier?:"order_api"|"data_api"|"quote_api"|"option_chain"|"non_trading_api"
Defined in: src/client/HttpClient.ts:37
Enforces the documented Dhan rate limit for this endpoint (RATE_LIMITS) in addition to the generic read/write queue. Omit for endpoints without a documented tier-specific limit narrower than the generic default.