AIDC Toolkit / Core / HTTPResponse
Interface: HTTPResponse
Defined in: http-fetch.ts:16
Generic HTTP response.
Properties
ok
readonlyok:boolean
Defined in: http-fetch.ts:20
True if OK.
status
readonlystatus:number
Defined in: http-fetch.ts:25
HTTP status code.
arrayBuffer()
readonlyarrayBuffer: () =>Promisable<ArrayBuffer>
Defined in: http-fetch.ts:30
Body as array buffer.
Returns
text()
readonlytext: () =>Promisable<string>
Defined in: http-fetch.ts:35
Body as text.
Returns
Promisable<string>