Preparing search index...
The search index is not available
blaze-sdk
blaze-sdk
HttpClient
Class HttpClient
Minimal HTTP client wrapper around fetch with timeout and retry handling.
Index
Constructors
constructor
Properties
retry
Policy
timeout
Ms?
Methods
request
Constructors
constructor
new
Http
Client
(
cfg
?
)
:
HttpClient
Parameters
cfg
:
HttpConfig
= {}
Returns
HttpClient
Properties
Readonly
retry
Policy
retry
Policy
:
RetryPolicy
Optional
Readonly
timeout
Ms
timeout
Ms
?:
number
Methods
request
request
<
T
>
(
input
,
init
?
)
:
Promise
<
T
>
Type Parameters
T
Parameters
input
:
RequestInfo
|
URL
Optional
init
:
RequestInit
&
{
expectJson
?:
boolean
;
}
Returns
Promise
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
retry
Policy
timeout
Ms
Methods
request
blaze-sdk
Loading...
Minimal HTTP client wrapper around fetch with timeout and retry handling.