Search
Preparing search index...
The search index is not available
@halo-dev/js-sdk
Options
All
Public
Public/Protected
All
Inherited
Menu
@halo-dev/js-sdk
content-api/src
DefaultHttpClient
Class DefaultHttpClient
Hierarchy
DefaultHttpClient
Implements
HttpClient
Index
Constructors
constructor
Properties
interceptors
request
Config
Builder
response
Handler
send
Request
Methods
delete
get
get
Data
post
post
Data
put
Constructors
constructor
new
Default
Http
Client
(
__namedParameters
:
{
requestConfigBuilder
:
<internal>
.
RequestConfigBuilder
;
responseHandler
:
ResponseHandler
}
)
:
DefaultHttpClient
Parameters
__namedParameters:
{
requestConfigBuilder
:
<internal>
.
RequestConfigBuilder
;
responseHandler
:
ResponseHandler
}
request
Config
Builder
:
<internal>
.
RequestConfigBuilder
response
Handler
:
ResponseHandler
Returns
DefaultHttpClient
Properties
interceptors
interceptors
:
<internal>
.
Interceptors
Private
request
Config
Builder
request
Config
Builder
:
any
Private
response
Handler
response
Handler
:
any
Private
send
Request
send
Request
:
any
Methods
delete
delete
(
path
:
string
, params
:
any
, options
?:
<internal>
.
RequestOptions
)
:
Promise
<
any
>
Parameters
path:
string
params:
any
Optional
options:
<internal>
.
RequestOptions
Returns
Promise
<
any
>
get
get
(
path
:
string
, params
:
any
)
:
Promise
<
any
>
Parameters
path:
string
params:
any
Returns
Promise
<
any
>
get
Data
get
Data
(
path
:
string
, params
:
any
)
:
Promise
<
any
>
Parameters
path:
string
params:
any
Returns
Promise
<
any
>
post
post
(
path
:
string
, params
:
any
, options
?:
<internal>
.
RequestOptions
)
:
Promise
<
any
>
Parameters
path:
string
params:
any
Optional
options:
<internal>
.
RequestOptions
Returns
Promise
<
any
>
post
Data
post
Data
(
path
:
string
, formData
:
FormData
)
:
Promise
<
any
>
Parameters
path:
string
formData:
FormData
Returns
Promise
<
any
>
put
put
(
path
:
string
, params
:
any
, options
?:
<internal>
.
RequestOptions
)
:
Promise
<
any
>
Parameters
path:
string
params:
any
Optional
options:
<internal>
.
RequestOptions
Returns
Promise
<
any
>
Modules
admin-
api/src
content-
api/src
<internal>
logger/src
rest-
api-
client/src
Default
Http
Client
constructor
interceptors
request
Config
Builder
response
Handler
send
Request
delete
get
get
Data
post
post
Data
put
Generated using
TypeDoc