class Response implements ProvidesResponseData

Class Response

Constants

private HEADER_PATTERN

Methods

__construct(int $requestId, string $output, string $error, float $duration)

No description

int
getRequestId()

No description

string
getHeader(string $headerKey)

No description

array
getHeaders()

No description

string
getBody()

No description

string
getRawResponse() deprecated

No description

string
getOutput()

No description

string
getError()

No description

float
getDuration()

No description

Details

at line 55
__construct(int $requestId, string $output, string $error, float $duration)

No description

Parameters

int $requestId
string $output
string $error
float $duration

at line 87
int getRequestId()

No description

Return Value

int

at line 92
string getHeader(string $headerKey)

No description

Parameters

string $headerKey

Return Value

string

at line 97
array getHeaders()

No description

Return Value

array

at line 102
string getBody()

No description

Return Value

string

at line 111
string getRawResponse() deprecated

deprecated Will be removed in v3.0.0. Please use Response#getOutput() instead.

No description

Return Value

string

at line 116
string getOutput()

No description

Return Value

string

at line 121
string getError()

No description

Return Value

string

at line 126
float getDuration()

No description

Return Value

float