Preparing search index...
The search index is not available
@euk-labs/fetchx
@euk-labs/fetchx
HttpService
Class HttpService
Hierarchy
HttpService
Index
Constructors
constructor
Properties
config
options
Methods
fetch
remove
Interceptor
set
Header
set
Interceptor
Constructors
constructor
new
Http
Service
(
options
:
HttpServiceOptions
)
:
HttpService
Parameters
options:
HttpServiceOptions
Returns
HttpService
Properties
Readonly
config
config
:
HttpServiceConfig
Readonly
options
options
:
HttpServiceOptions
Methods
fetch
fetch
(
path
:
string
, config
?:
RequestInitWithParams
)
:
Promise
<
Response
>
Parameters
path:
string
config:
RequestInitWithParams
= ...
Returns
Promise
<
Response
>
remove
Interceptor
remove
Interceptor
(
id
:
string
)
:
void
Parameters
id:
string
Returns
void
set
Header
set
Header
(
header
:
string
, value
:
string
)
:
void
Parameters
header:
string
value:
string
Returns
void
set
Interceptor
set
Interceptor
(
id
:
string
, interceptor
:
InterceptorFn
)
:
void
Parameters
id:
string
interceptor:
InterceptorFn
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
@euk-
labs/fetchx
Http
Service
constructor
config
options
fetch
remove
Interceptor
set
Header
set
Interceptor
Generated using
TypeDoc