SimpleHttpResponse::getRequestData PHP Method

getRequestData() public method

Original request data.
public getRequestData ( ) : mixed
return mixed Sent content.
    public function getRequestData()
    {
        return $this->encoding;
    }

Usage Example

示例#1
0
 /**
  *    Extracts all of the response information.
  *    @param SimpleHttpResponse $response    Response being parsed.
  *    @access private
  */
 protected function extractResponse($response)
 {
     $this->transport_error = $response->getError();
     $this->raw = $response->getContent();
     $this->sent = $response->getSent();
     $this->headers = $response->getHeaders();
     $this->method = $response->getMethod();
     $this->url = $response->getUrl();
     $this->request_data = $response->getRequestData();
 }
All Usage Examples Of SimpleHttpResponse::getRequestData