@shopify/oxygen-workers-types
Preparing search index...
Body
Class Body
Abstract
Hierarchy (
View Summary
)
Body
Response
Request
Index
Constructors
constructor
Accessors
body
body
Used
Methods
array
Buffer
blob
bytes
form
Data
json
text
Constructors
constructor
new
Body
()
:
Body
Returns
Body
Accessors
body
get
body
()
:
null
|
ReadableStream
<
any
>
Returns
null
|
ReadableStream
<
any
>
body
Used
get
bodyUsed
()
:
boolean
Returns
boolean
Methods
array
Buffer
arrayBuffer
()
:
Promise
<
ArrayBuffer
>
Returns
Promise
<
ArrayBuffer
>
blob
blob
()
:
Promise
<
Blob
>
Returns
Promise
<
Blob
>
bytes
bytes
()
:
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
Returns
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
form
Data
formData
()
:
Promise
<
FormData
>
Returns
Promise
<
FormData
>
json
json
<
T
>
()
:
Promise
<
T
>
Type Parameters
T
Returns
Promise
<
T
>
text
text
()
:
Promise
<
string
>
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
body
body
Used
Methods
array
Buffer
blob
bytes
form
Data
json
text
@shopify/oxygen-workers-types
Loading...