Description Details Fields Methods
Represents a HTTP response.
Represents a HTTP response.
response
:Object of class
"jobjRef"
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.