Sarraf API
Preparing search index...
core/src
HttpResponse
Interface HttpResponse<T>
interface
HttpResponse
<
T
=
unknown
>
{
data
:
T
;
headers
:
Record
<
string
,
string
>
;
ok
:
boolean
;
status
:
number
;
text
:
string
;
}
Type Parameters
T
=
unknown
Index
Properties
data
headers
ok
status
text
Properties
data
data
:
T
Parsed JSON when the body is JSON, otherwise the raw text.
headers
headers
:
Record
<
string
,
string
>
ok
ok
:
boolean
status
status
:
number
text
text
:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
data
headers
ok
status
text
Sarraf API
Loading...
Parsed JSON when the body is JSON, otherwise the raw text.