InternetRequestResult
in package
Table of Contents
- $body : string
- $code : int
- $headers : array<string|int, array<string|int, string>>
- __construct() : mixed
- getBody() : string
- getCode() : int
- getHeaders() : array<string|int, array<string|int, string>>
Properties
$body
private
string
$body
$code
private
int
$code
$headers
private
array<string|int, array<string|int, string>>
$headers
Tags
Methods
__construct()
public
__construct(array<string|int, array<string|int, string>> $headers, string $body, int $code) : mixed
Parameters
- $headers : array<string|int, array<string|int, string>>
- $body : string
- $code : int
Tags
Return values
mixed —getBody()
public
getBody() : string
Return values
string —getCode()
public
getCode() : int
Return values
int —getHeaders()
public
getHeaders() : array<string|int, array<string|int, string>>