public function getBody(): RequestBody
    {
        if ($this->body === null) {
            $this->body = new RequestBody(new InMemoryStream);
        }

        return $this->body;
    }
public function getBody(): RequestBody
    {
        if ($this->body === null) {
            $this->body = new RequestBody(new InMemoryStream);
        }

        return $this->body;
    }
public function getBody ( ) : RequestBody { if ( $ this -> body === null ) { $ this -> body = new RequestBody ( new InMemoryStream ) ; } return $ this -> body ; }
Retrieve the request body.

@return \Amp\Http\Server\RequestBody
Retrieve the request body .