interface ResponseInterface

Methods

int
getStreamId()

Get the stream ID.

int
getStatusCode()

Get the response status code.

array
getHeaders()

Get the response headers.

string|null
getBody()

Get the response body.

bool
isEndStream()

Determine whether the response event ends the stream.

Details

at line 12
int getStreamId()

Get the stream ID.

Return Value

int

at line 17
int getStatusCode()

Get the response status code.

Return Value

int

at line 22
array getHeaders()

Get the response headers.

Return Value

array

at line 27
string|null getBody()

Get the response body.

Return Value

string|null

at line 32
bool isEndStream()

Determine whether the response event ends the stream.

Return Value

bool