You are here

public function MessageInterface::getBody in Lockr 7.3

Gets the body of the message.

Return value

StreamInterface Returns the body as a stream.

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\Message

Code

public function getBody();