Search
Preparing search index...
The search index is not available
@michaelcoxon/rest-client - v1.6.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"xhr/XhrHttpRequestResponse"
XhrErrorHttpResponse
Class XhrErrorHttpResponse
Hierarchy
XhrHttpResponse
XhrErrorHttpResponse
Implements
IHttpResponse
IErrorHttpResponse
Index
Constructors
constructor
Properties
message
should
Retry
Accessors
cancelled
content
Async
headers
ok
request
response
response
Type
status
status
Text
Methods
execute
Async
Constructors
constructor
new
Xhr
Error
Http
Response
(
message
:
string
, filters
:
IHttpFilter
[]
)
:
XhrErrorHttpResponse
Parameters
message:
string
filters:
IHttpFilter
[]
Returns
XhrErrorHttpResponse
Properties
message
message
:
string
should
Retry
should
Retry
:
boolean
= false
Accessors
cancelled
get
cancelled
(
)
:
boolean
Returns
boolean
content
Async
get
contentAsync
(
)
:
Promise
<
IHttpResponseContent
>
Returns
Promise
<
IHttpResponseContent
>
headers
get
headers
(
)
:
IHttpResponseHeaderCollection
Returns
IHttpResponseHeaderCollection
ok
get
ok
(
)
:
boolean
Returns
boolean
request
get
request
(
)
:
Readonly
<
IHttpRequest
>
Returns
Readonly
<
IHttpRequest
>
response
get
response
(
)
:
any
Returns
any
response
Type
get
responseType
(
)
:
HttpResponseType
Returns
HttpResponseType
status
get
status
(
)
:
HttpStatusCode
Returns
HttpStatusCode
status
Text
get
statusText
(
)
:
string
Returns
string
Methods
execute
Async
execute
Async
(
request
:
IHttpRequest
, cancelled
?:
boolean
)
:
Promise
<
void
>
Parameters
request:
IHttpRequest
Default value
cancelled:
boolean
= false
Returns
Promise
<
void
>
Globals
"
Exceptions"
"
Header
Collection"
"
Http
Content
Header
Collection"
"
Http
Request
Header
Collection"
"
Http
Response
Header
Collection"
"
Request
Content"
"
Response
Content"
"
Response
Content
Handlers"
"
Types"
"filters/
Basic
Authentication
Filter"
"helpers/
Filter
Helpers"
"helpers/
Header
Helpers"
"index"
"interfaces/
Http
Client
Enums"
"interfaces/
Http
Client
Interfaces"
"xhr/
Xhr
Http
Client"
"xhr/
Xhr
Http
Request
Response"
Xhr
Error
Http
Response
constructor
message
should
Retry
cancelled
content
Async
headers
ok
request
response
response
Type
status
status
Text
execute
Async
Xhr
Http
Request
Xhr
Http
Response
MUST_
EXECUTE_
RESPONSE_
FIRST_
MESSAGE
Generated using
TypeDoc