public function setBody($body)
    {
        $this->body = $body;
        $this->setHeader('Content-Length', strlen($body));

        return $this;
    }
public function setBody($body)
    {
        $this->body = $body;
        $this->setHeader('Content-Length', strlen($body));

        return $this;
    }
public function setBody ( $ body ) { $ this -> body = $ body ; $ this -> setHeader ( 'Content-Length' , strlen ( $ body ) ) ; return $ this ; }
The the body of the request

@param string $body
The the body of the request