@bluelibs/runner - v5.5.0
Preparing search index...
HttpCreateClientConfig
Interface HttpCreateClientConfig
interface
HttpCreateClientConfig
{
auth
?:
HttpClientAuthConfig
;
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
;
url
:
string
;
}
Index
Properties
auth?
fetch
Impl?
on
Request?
serializer
timeout
Ms?
url
Properties
Optional
auth
auth
?:
HttpClientAuthConfig
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
url
url
:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
auth
fetch
Impl
on
Request
serializer
timeout
Ms
url
@bluelibs/runner - v5.5.0
Loading...
MDN Reference