HttpRes
@Js
class HttpRes : Obj
HttpRes models the response side of an XMLHttpRequest instance.
See pod doc for details.
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 response headers
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.