class dom::HttpRes
sys::Obj dom::HttpRes
@Js
HttpRes models the response side of an XMLHttpRequest instance.
See pod doc for details.
- content
-
Str content := ""The text content of the response when the XMLHttpRequest
HttpReq.resTypeis "text" - contentBuf
-
Buf contentBuf := Buf.<ctor>(0)The binary content of the response when the XMLHttpRequest
HttpReq.resTypeis "arraybuffer" - headers
-
The response headers.
- status
-
Int statusThe HTTP status code of the response.