Response
request.Response
Type parameters
Name |
---|
T |
Implements
IResponse
<T
>
constructor
new Response<T
>(request
, status
, statusText
, body
): Response
<T
>
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
request |
IRequest |
status |
number |
statusText |
string |
body |
string | Blob |
Returns
Response
<T
>
Defined in
src/core/request/response.ts#24
status
Readonly
status: number
Implementation of
Defined in
src/core/request/response.ts#14
statusText
Readonly
statusText: string
Implementation of
Defined in
src/core/request/response.ts#15
request
Readonly
request: IRequest
Implementation of
Defined in
src/core/request/response.ts#17
url
get
url(): string
Returns
string
Implementation of
Defined in
src/core/request/response.ts#18
json
json(): Promise
<T
>
Returns
Promise
<T
>
Implementation of
Defined in
src/core/request/response.ts#36
text
text(): Promise
<string
>
Returns
Promise
<string
>
Implementation of
Defined in
src/core/request/response.ts#40
blob
Returns
Implementation of
Defined in
jodit/src/core/request/response.ts:44