神岛 API 文档 - ArenaPro版
Preparing search index...
client/types/ClientAPI
BodyMixin
Class BodyMixin
Index
Constructors
constructor
Properties
body
body
Used
size
Methods
array
Buffer
blob
buffer
form
Data
json
text
Constructors
constructor
new
BodyMixin
(
body
?:
BodyInit
,
options
?:
{
size
?:
number
}
)
:
BodyMixin
Parameters
Optional
body
:
BodyInit
Optional
options
:
{
size
?:
number
}
Returns
BodyMixin
Properties
Readonly
body
body
:
ReadableStream
Readonly
body
Used
bodyUsed
:
boolean
Readonly
size
size
:
number
Methods
array
Buffer
arrayBuffer
()
:
Promise
<
ArrayBuffer
>
Returns
Promise
<
ArrayBuffer
>
blob
blob
()
:
Promise
<
Blob
>
Returns
Promise
<
Blob
>
buffer
buffer
()
:
Promise
<
Buffer
<
ArrayBufferLike
>
>
Returns
Promise
<
Buffer
<
ArrayBufferLike
>
>
Deprecated
Use
body.arrayBuffer()
instead.
form
Data
formData
()
:
Promise
<
FormData
>
Returns
Promise
<
FormData
>
json
json
()
:
Promise
<
unknown
>
Returns
Promise
<
unknown
>
text
text
()
:
Promise
<
string
>
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
body
body
Used
size
Methods
array
Buffer
blob
buffer
form
Data
json
text
神岛 API 文档 - ArenaPro版
Loading...
Deprecated
Use
body.arrayBuffer()
instead.