interface ProvidesResponseData

Interface ProvidesResponseData

Methods

array
getHeaders()

No description

array
getHeader(string $headerKey)

No description

string
getHeaderLine(string $headerKey)

No description

string
getBody()

No description

string
getOutput()

No description

string
getError()

No description

float
getDuration()

No description

int
getStatusCode()

Returns the status code of the Status header, or 200 if there is no Status header.

Details

at line 14
array getHeaders()

No description

Return Value

array

at line 19
array getHeader(string $headerKey)

No description

Parameters

string $headerKey

Return Value

array

at line 21
string getHeaderLine(string $headerKey)

No description

Parameters

string $headerKey

Return Value

string

at line 23
string getBody()

No description

Return Value

string

at line 25
string getOutput()

No description

Return Value

string

at line 27
string getError()

No description

Return Value

string

at line 29
float getDuration()

No description

Return Value

float

at line 34
int getStatusCode()

Returns the status code of the Status header, or 200 if there is no Status header.

Return Value

int