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
HaloResponseHandler
Class HaloResponseHandler
Hierarchy
HaloResponseHandler
Implements
ResponseHandler
Index
Constructors
constructor
Methods
handle
handle
Error
Response
handle
Success
Response
Constructors
constructor
new
Halo
Response
Handler
(
)
:
HaloResponseHandler
Returns
HaloResponseHandler
Methods
handle
handle
<
T
>
(
response
:
Promise
<
<internal>
.
HttpResponse
<
T
>
>
)
:
Promise
<
T
>
Type parameters
T
Parameters
response:
Promise
<
<internal>
.
HttpResponse
<
T
>
>
Returns
Promise
<
T
>
Private
handle
Error
Response
handle
Error
Response
(
error
:
HttpClientError
<
HaloErrorResponse
|
ErrorResponse
<
string
>
>
)
:
never
Parameters
error:
HttpClientError
<
HaloErrorResponse
|
ErrorResponse
<
string
>
>
Returns
never
Private
handle
Success
Response
handle
Success
Response
<
T
>
(
response
:
<internal>
.
HttpResponse
<
T
>
)
:
T
Type parameters
T
Parameters
response:
<internal>
.
HttpResponse
<
T
>
Returns
T
Modules
admin-
api/src
content-
api/src
logger/src
rest-
api-
client/src
<internal>
Halo
Response
Handler
constructor
handle
handle
Error
Response
handle
Success
Response
Generated using
TypeDoc