code/libraries/joomlatools/library/http/request/request.php
public function toString()
    {
        $request = sprintf('%s %s HTTP/%s', $this->getMethod(), (string) $this->getUrl(), $this->getVersion());

        $str = trim($request) . "\r\n";
        $str .= $this->getHeaders();
        $str .= "\r\n";
        $str .= $this->getContent();
        return $str;
    }
public function toString()
    {
        $request = sprintf('%s %s HTTP/%s', $this->getMethod(), (string) $this->getUrl(), $this->getVersion());

        $str = trim($request) . "\r\n";
        $str .= $this->getHeaders();
        $str .= "\r\n";
        $str .= $this->getContent();
        return $str;
    }
public function toString ( ) { $ request = sprintf ( '%s %s HTTP/%s' , $ this -> getMethod ( ) , ( string ) $ this -> getUrl ( ) , $ this -> getVersion ( ) ) ; $ str = trim ( $ request ) . "\r\n" ; $ str .= $ this -> getHeaders ( ) ; $ str .= "\r\n" ; $ str .= $ this -> getContent ( ) ; return $ str ; }
Render entire request as HTTP request string

@return string
Render entire request as HTTP request string