@nextcloud/files
Preparing search index...
dav
<internal>
BodyMixin
Class BodyMixin
Hierarchy (
View Summary
)
BodyMixin
Response
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
:
null
|
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
@nextcloud/files
Loading...
Deprecated
Use
body.arrayBuffer()
instead.