Preparing search index...
The search index is not available
@ztimson/utils
@ztimson/utils
http
Http
Class Http
Index
Constructors
constructor
Properties
headers
url
headers
Methods
add
Interceptor
request
add
Interceptor
Constructors
constructor
new
Http
(
defaults
?
)
:
Http
Parameters
defaults
:
HttpDefaults
= {}
Returns
Http
Properties
headers
headers
:
{
[
key
:
string
]
:
string
|
null
|
undefined
;
}
= {}
url
url
:
null
|
string
Static
headers
headers
:
{
[
key
:
string
]
:
string
|
null
|
undefined
;
}
= {}
Methods
add
Interceptor
add
Interceptor
(
fn
)
:
(
(
)
=>
void
)
Parameters
fn
:
HttpInterceptor
Returns
(
(
)
=>
void
)
(
)
:
void
Returns
void
request
request
<
T
>
(
opts
?
)
:
PromiseProgress
<
DecodedResponse
<
T
>
>
Type Parameters
T
Parameters
opts
:
HttpRequestOptions
= {}
Returns
PromiseProgress
<
DecodedResponse
<
T
>
>
Static
add
Interceptor
add
Interceptor
(
fn
)
:
(
(
)
=>
void
)
Parameters
fn
:
HttpInterceptor
Returns
(
(
)
=>
void
)
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
headers
url
headers
Methods
add
Interceptor
request
add
Interceptor
@ztimson/utils
Loading...