V8 Javascript API

http.Response Class Reference

[Http Requests]

Description

Represents a http response.

Properties

String  body
The message body of the response as a decoded String. More...
Integer  code
The http response code.
Object  headers
Header object whose properties are the response header names in lowercase. More...
String  message
The http response message.

Properties

String http.​Response.body

The message body of the response as a decoded String. Additionally, this may also be an ArrayBuffer if a binary encoding was specified or a deserialised Object in the case of automatic json deserialisation.

Integer http.​Response.code

The http response code.

Object http.​Response.headers

Header object whose properties are the response header names in lowercase. Each header entry can either be a single String value or an Array of String values in the case that a header occurs multiple times.

String http.​Response.message

The http response message.