Avolutions\Http\Response
An object that contains the response of the request.
Properties
Property |
Visibility |
Type |
Description |
$body |
public |
?string |
The content of the response. |
Methods
Method |
Visibility |
Description |
send() |
public |
Displays the content of the Response. |
setBody() |
public |
Fills the Response body with the passed value. |
The content of the response.
public string|null $body
send()
Displays the content of the Response.
public
send() : mixed
Return values
mixed Displays the content of the Response.
setBody()
Fills the Response body with the passed value.
public
setBody(string|null $value) : mixed
Parameters
string|null
$value
The value for the body
Return values
mixed Fills the Response body with the passed value.