SimpleHttpResponse::getSent PHP Method

getSent() public method

Raw request that was sent down the wire.
public getSent ( ) : string
return string Bytes actually sent.
    public function getSent()
    {
        return $this->sent;
    }

Usage Example

Exemplo n.º 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::getSent