@bluelibs/runner - v5.5.0
Preparing search index...
ExposureFetchConfig
Interface ExposureFetchConfig
interface
ExposureFetchConfig
{
auth
?:
ExposureFetchAuthConfig
;
baseUrl
:
string
;
contexts
?:
IAsyncContext
<
unknown
>
[]
;
errorRegistry
?:
Map
<
string
,
IErrorHelper
<
any
>
>
;
fetchImpl
?:
{
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
(
input
:
string
|
URL
|
Request
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
}
;
onRequest
?:
(
ctx
:
{
headers
:
Record
<
string
,
string
>
;
url
:
string
}
,
)
=>
void
|
Promise
<
void
>
;
serializer
:
SerializerLike
;
timeoutMs
?:
number
;
}
Index
Properties
auth?
base
Url
contexts?
error
Registry?
fetch
Impl?
on
Request?
serializer
timeout
Ms?
Properties
Optional
auth
auth
?:
ExposureFetchAuthConfig
base
Url
baseUrl
:
string
Optional
contexts
contexts
?:
IAsyncContext
<
unknown
>
[]
Optional
error
Registry
errorRegistry
?:
Map
<
string
,
IErrorHelper
<
any
>
>
Optional
fetch
Impl
fetchImpl
?:
{
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
(
input
:
string
|
URL
|
Request
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
}
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
on
Request
onRequest
?:
(
ctx
:
{
headers
:
Record
<
string
,
string
>
;
url
:
string
}
,
)
=>
void
|
Promise
<
void
>
serializer
serializer
:
SerializerLike
Optional
timeout
Ms
timeoutMs
?:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
auth
base
Url
contexts
error
Registry
fetch
Impl
on
Request
serializer
timeout
Ms
@bluelibs/runner - v5.5.0
Loading...
MDN Reference