Property | Type | Description | |
---|---|---|---|
$body | string | Response body. | |
$headers | array | Response headers. |
Method | Description | |
---|---|---|
__construct ( array $headers = [], string $body = '' ) | Construct from headers and body. |
public __construct ( array $headers = [], string $body = '' ) | ||
$headers | array | |
$body | string |