HttpRes
@Js
class HttpRes : Obj
HttpRes models the response side of an XMLHttpRequest instance.
See pod doc for details.
The response headers
The text content of the response when the XMLHttpRequest HttpReq.resType is "text"
The binary content of the response when the XMLHttpRequest HttpReq.resType is "arraybuffer"
The HTTP status code of the response
Str : content
The text content of the response when the XMLHttpRequest HttpReq.resType is "text"
Buf : contentBuf
The binary content of the response when the XMLHttpRequest HttpReq.resType is "arraybuffer"
Str:Str : headers
The response headers.
Int : status
The HTTP status code of the response.