Response

Extends Response

HTTP response data object class.

property-read string

The response body as a string

The status code of the response

The headers as an array

since

1.0

package

Joomla Framework

Methods

__get

Magic getter for backward compatibility with the 1.x API

__get(string name) : mixed
deprecated
since

2.0.0

deprecated

3.0 Access data via the PSR-7 ResponseInterface instead

Arguments

name

stringThe variable to return

Response

mixed

Properties

body

The response body as a string

Type(s)

string

code

The status code of the response

Type(s)

int

headers

The headers as an array

Type(s)

array