public function MessageInterface::getBody in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/psr/http-message/src/MessageInterface.php \Psr\Http\Message\MessageInterface::getBody()
Gets the body of the message.
Return value
StreamInterface Returns the body as a stream.
1 method overrides MessageInterface::getBody()
- Message::getBody in vendor/
symfony/ psr-http-message-bridge/ Tests/ Fixtures/ Message.php - Gets the body of the message.
File
- vendor/
psr/ http-message/ src/ MessageInterface.php, line 171
Class
- MessageInterface
- HTTP messages consist of requests from a client to a server and responses from a server to a client. This interface defines the methods common to each.
Namespace
Psr\Http\MessageCode
public function getBody();