Response-class: CLASS Response

Description Details Fields Methods

Description

Represents a HTTP response.

Details

Represents a HTTP response.

Fields

response:

Object of class "jobjRef"

Methods

new(...):

Create a new Response object. ... is used to define the appropriate slots.

body():

Get the body of the response as a plain string.

bodyAsBytes():

Get the body of the response as an array of bytes.

charset():

Get the character set name of the response.

contentType():

Get the response content type (e.g. "text/html")

parse():

Parse the body of the response as a Document.

statusCode():

Get the status code of the response.

statusMessage():

Get the status code of the response.


johndharrison/Rsoup documentation built on May 19, 2019, 4:22 p.m.