GitHub
Docs
Preparing search index...
The search index is not available
Langfuse JS/TS SDKs
Langfuse JS/TS SDKs
langfuse
HttpResponse
Interface HttpResponse<D, E>
interface
HttpResponse
<
D
,
E
>
{
body
:
null
|
ReadableStream
<
Uint8Array
>
;
bodyUsed
:
boolean
;
data
:
D
;
error
:
E
;
headers
:
Headers
;
ok
:
boolean
;
redirected
:
boolean
;
status
:
number
;
statusText
:
string
;
type
:
ResponseType
;
url
:
string
;
arrayBuffer
(
)
:
Promise
<
ArrayBuffer
>
;
blob
(
)
:
Promise
<
Blob
>
;
clone
(
)
:
Response
;
formData
(
)
:
Promise
<
FormData
>
;
json
(
)
:
Promise
<
any
>
;
text
(
)
:
Promise
<
string
>
;
}
Type Parameters
D
extends
unknown
E
extends
unknown
=
unknown
Hierarchy
Response
HttpResponse
Index
Properties
body
body
Used
data
error
headers
ok
redirected
status
status
Text
type
url
Methods
array
Buffer
blob
clone
form
Data
json
text
Properties
Readonly
body
body
:
null
|
ReadableStream
<
Uint8Array
>
MDN Reference
Readonly
body
Used
body
Used
:
boolean
MDN Reference
data
data
:
D
error
error
:
E
Readonly
headers
headers
:
Headers
MDN Reference
Readonly
ok
ok
:
boolean
MDN Reference
Readonly
redirected
redirected
:
boolean
MDN Reference
Readonly
status
status
:
number
MDN Reference
Readonly
status
Text
status
Text
:
string
MDN Reference
Readonly
type
type
:
ResponseType
MDN Reference
Readonly
url
url
:
string
MDN Reference
Methods
array
Buffer
array
Buffer
(
)
:
Promise
<
ArrayBuffer
>
MDN Reference
Returns
Promise
<
ArrayBuffer
>
blob
blob
(
)
:
Promise
<
Blob
>
MDN Reference
Returns
Promise
<
Blob
>
clone
clone
(
)
:
Response
MDN Reference
Returns
Response
form
Data
form
Data
(
)
:
Promise
<
FormData
>
MDN Reference
Returns
Promise
<
FormData
>
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
data
error
headers
ok
redirected
status
status
Text
type
url
Methods
array
Buffer
blob
clone
form
Data
json
text
GitHub
Docs
Langfuse JS/TS SDKs
Loading...
MDN Reference