public function setBody($body)
    {
        $this->_body = $body;
        $this->setHeader('content-length', $body === null ? null : strlen($body));
    }
public function setBody($body)
    {
        $this->_body = $body;
        $this->setHeader('content-length', $body === null ? null : strlen($body));
    }
public function setBody ( $ body ) { $ this -> _body = $ body ; $ this -> setHeader ( 'content-length' , $ body === null ? null : strlen ( $ body ) ) ; }
Set http request body
@param string $body content string.
Set http request body