type

HttpRes

@Js
class HttpRes : Obj

HttpRes models the response side of an XMLHttpRequest instance.

See pod doc for details.

fields

content

The content of the response.

headers

The response headers.

status

The HTTP status code of the response.

Slot Details

content

Str content := ""

The content of the response.

headers

Str:Str headers := ...

The response headers.

status

Int status

The HTTP status code of the response.