ResponseInterface
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.
at line 17
int
getStatusCode()
Get the response status code.
at line 22
array
getHeaders()
Get the response headers.
at line 27
string|null
getBody()
Get the response body.
at line 32
bool
isEndStream()
Determine whether the response event ends the stream.