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
rest-api-client/src
DefaultHttpClient
Class DefaultHttpClient
Hierarchy
DefaultHttpClient
Implements
HttpClient
Index
Constructors
constructor
Properties
interceptors
request
Config
Builder
response
Handler
Methods
delete
get
get
Data
post
post
Data
put
send
Request
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
:
<internal>
.
RequestConfigBuilder
Private
response
Handler
response
Handler
:
ResponseHandler
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
>
Private
send
Request
send
Request
(
requestConfig
:
<internal>
.
RequestConfig
)
:
Promise
<
any
>
Parameters
requestConfig:
<internal>
.
RequestConfig
Returns
Promise
<
any
>
Modules
admin-
api/src
content-
api/src
logger/src
rest-
api-
client/src
<internal>
Default
Http
Client
constructor
interceptors
request
Config
Builder
response
Handler
delete
get
get
Data
post
post
Data
put
send
Request
Generated using
TypeDoc