@portfolio-resilience/core
Preparing search index...
ResilientHttpClientOptions
Interface ResilientHttpClientOptions
interface
ResilientHttpClientOptions
{
correlationHeader
?:
string
;
fetchImpl
?:
{
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
(
input
:
string
|
URL
|
Request
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
}
;
idempotencyHeader
?:
string
;
transientStatuses
?:
ReadonlySet
<
number
>
;
}
Index
Properties
correlation
Header?
fetch
Impl?
idempotency
Header?
transient
Statuses?
Properties
Optional
correlation
Header
correlationHeader
?:
string
Optional
fetch
Impl
fetchImpl
?:
{
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
(
input
:
string
|
URL
|
Request
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
}
Injectable fetch implementation (defaults to global
fetch
).
Type Declaration
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
)
:
Promise
<
Response
>
MDN Reference
Parameters
input
:
URL
|
RequestInfo
Optional
init
:
RequestInit
Returns
Promise
<
Response
>
(
input
:
string
|
URL
|
Request
,
init
?:
RequestInit
)
:
Promise
<
Response
>
MDN Reference
Parameters
input
:
string
|
URL
|
Request
Optional
init
:
RequestInit
Returns
Promise
<
Response
>
Optional
idempotency
Header
idempotencyHeader
?:
string
Optional
transient
Statuses
transientStatuses
?:
ReadonlySet
<
number
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
correlation
Header
fetch
Impl
idempotency
Header
transient
Statuses
@portfolio-resilience/core
Loading...
Injectable fetch implementation (defaults to global
fetch).