public function setRawBody($rawBody)
    {
        $body = new MemoryStream();
        $body->write($rawBody);
        $this->setBody($body);
    }
public function setRawBody($rawBody)
    {
        $body = new MemoryStream();
        $body->write($rawBody);
        $this->setBody($body);
    }
public function setRawBody ( $ rawBody ) { $ body = new MemoryStream ( ) ; $ body -> write ( $ rawBody ) ; $ this -> setBody ( $ body ) ; }
Sets the raw HTTP request body, this method is mainly used by test scripts to simulate raw HTTP requests.
@param string $rawBody the request body
Sets the raw HTTP request body this method is mainly used by test scripts to simulate raw HTTP requests .