FoxoChat.js Packages
Preparing search index...
@foxochat/rest
ResponseLike
Interface ResponseLike
Internal HTTP-client response like structure.
interface
ResponseLike
{
body
:
null
|
ReadableStream
<
Uint8Array
<
ArrayBufferLike
>
>
;
bodyUsed
:
boolean
;
headers
:
Headers
;
ok
:
boolean
;
status
:
number
;
statusText
:
string
;
arrayBuffer
()
:
Promise
<
ArrayBuffer
>
;
json
()
:
Promise
<
any
>
;
text
()
:
Promise
<
string
>
;
}
Hierarchy
Pick
<
Response
,
|
"arrayBuffer"
|
"bodyUsed"
|
"headers"
|
"json"
|
"ok"
|
"status"
|
"statusText"
|
"text"
,
>
ResponseLike
Index
Properties
body
body
Used
headers
ok
status
status
Text
Methods
array
Buffer
json
text
Properties
body
body
:
null
|
ReadableStream
<
Uint8Array
<
ArrayBufferLike
>
>
Readonly
body
Used
bodyUsed
:
boolean
MDN Reference
Readonly
headers
headers
:
Headers
MDN Reference
Readonly
ok
ok
:
boolean
MDN Reference
Readonly
status
status
:
number
MDN Reference
Readonly
status
Text
statusText
:
string
MDN Reference
Methods
array
Buffer
arrayBuffer
()
:
Promise
<
ArrayBuffer
>
MDN Reference
Returns
Promise
<
ArrayBuffer
>
json
json
()
:
Promise
<
any
>
MDN Reference
Returns
Promise
<
any
>
text
text
()
:
Promise
<
string
>
MDN Reference
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
body
body
Used
headers
ok
status
status
Text
Methods
array
Buffer
json
text
FoxoChat.js Packages
Loading...
Internal HTTP-client response like structure.