PURISTA API / @purista/core / HttpClientRequestOptions
Type Alias: HttpClientRequestOptions
HttpClientRequestOptions =
object
Defined in: packages/core/src/HttpClient/types/HttpClientRequestOptions.ts:4
Options for a single request
Properties
hash?
optional
hash:string
Defined in: packages/core/src/HttpClient/types/HttpClientRequestOptions.ts:17
url hash @example: http://example.com/index.html#hash
headers?
optional
headers:Record
<string
,string
>
Defined in: packages/core/src/HttpClient/types/HttpClientRequestOptions.ts:8
additional headers
query?
optional
query:Record
<string
,string
>
Defined in: packages/core/src/HttpClient/types/HttpClientRequestOptions.ts:12
query/search string parameter
timeout?
optional
timeout:number
Defined in: packages/core/src/HttpClient/types/HttpClientRequestOptions.ts:22
Timeout for the request in ms
Default
30000