45 $resource = $response->
getBody()->detach();
49 if (is_resource($resource)) {
51 $sendStatus = fpassthru($resource);
58 if ($sendStatus ===
false) {
getStatusCode()
Gets the response status code.
getBody()
Gets the body of the message.
Representation of an outgoing, server-side response.
Interface ResponseSenderStrategy.
sendResponse(ResponseInterface $response)
Sends the rendered response to the client.
Class DefaultResponseSenderStrategy.
getHeaders()
Retrieves all message header values.
getHeaderLine($name)
Retrieves a comma-separated string of the values for a single header.