Search
Preparing search index...
The search index is not available
dockside
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
dockside
Response
Class Response
Hierarchy
Body
Response
Index
Constructors
constructor
Properties
_body
_length
_mime
body
Used
headers
http
Version
ok
redirected
status
status
Text
type
url
use
FinalURL
Methods
array
Buffer
clone
form
Data
has
Body
json
readable
set
Body
set
Signal
text
error
redirect
Constructors
constructor
new
Response
(
body
?:
null
|
Body
|
BodyTypes
, init
?:
Partial
<
ResponseInit
>
, extra
?:
Partial
<
Extra
>
)
:
Response
Parameters
Optional
body:
null
|
Body
|
BodyTypes
Optional
init:
Partial
<
ResponseInit
>
Optional
extra:
Partial
<
Extra
>
Returns
Response
Properties
Protected
Optional
_body
_body
?:
null
|
StorageBodyTypes
Protected
_length
_length
:
null
|
number
Protected
Optional
_mime
_mime
?:
string
Readonly
body
Used
body
Used
:
boolean
Readonly
headers
headers
:
Headers
Readonly
http
Version
http
Version
:
HttpVersion
Readonly
ok
ok
:
boolean
Readonly
redirected
redirected
:
boolean
Readonly
status
status
:
number
Readonly
status
Text
status
Text
:
string
Readonly
type
type
:
ResponseTypes
Readonly
url
url
:
string
Readonly
use
FinalURL
use
FinalURL
:
boolean
Methods
array
Buffer
array
Buffer
(
allowIncomplete
?:
boolean
)
:
Promise
<
ArrayBuffer
>
Parameters
Optional
allowIncomplete:
boolean
Returns
Promise
<
ArrayBuffer
>
clone
clone
(
)
:
Response
Returns
Response
form
Data
form
Data
(
)
:
Promise
<
never
>
Returns
Promise
<
never
>
Protected
has
Body
has
Body
(
)
:
boolean
Returns
boolean
json
json
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
readable
readable
(
)
:
Promise
<
ReadableStream
>
Returns
Promise
<
ReadableStream
>
Protected
set
Body
set
Body
(
body
:
null
|
BodyTypes
|
IBody
, mime
?:
null
|
string
, integrity
?:
null
|
string
, length
?:
null
|
number
)
:
void
Parameters
body:
null
|
BodyTypes
|
IBody
Optional
mime:
null
|
string
Optional
integrity:
null
|
string
Optional
length:
null
|
number
Returns
void
Protected
set
Signal
set
Signal
(
signal
:
undefined
|
AbortSignal
)
:
void
Parameters
signal:
undefined
|
AbortSignal
Returns
void
text
text
(
allowIncomplete
?:
boolean
)
:
Promise
<
string
>
Parameters
Optional
allowIncomplete:
boolean
Returns
Promise
<
string
>
Static
error
error
(
)
:
Response
Returns
Response
Static
redirect
redirect
(
url
:
string
, status
?:
number
)
:
Response
Parameters
url:
string
Optional
status:
number
Returns
Response
Exports
Response
constructor
_body
_length
_mime
body
Used
headers
http
Version
ok
redirected
status
status
Text
type
url
use
FinalURL
array
Buffer
clone
form
Data
has
Body
json
readable
set
Body
set
Signal
text
error
redirect
Generated using
TypeDoc