class

HttpRes

@Js
class HttpRes : Obj

HttpRes models the response side of an XMLHttpRequest instance.

See pod doc for details.

fields headers

The response headers

content

The text content of the response when the XMLHttpRequest HttpReq.resType is "text"

contentBuf

The binary content of the response when the XMLHttpRequest HttpReq.resType is "arraybuffer"

status

The HTTP status code of the response

content Str : content

The text content of the response when the XMLHttpRequest HttpReq.resType is "text"

contentBuf Buf : contentBuf

The binary content of the response when the XMLHttpRequest HttpReq.resType is "arraybuffer"

headers Str:Str : headers

The response headers.

status Int : status

The HTTP status code of the response.

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST