2 require_once
'HTTP/Request2.php';
6 private $reponse = null;
15 $response = $this->
send();
16 $this->response = $response;
23 return $this->response->getStatus();
30 return $this->response->getHeader();
37 return $this->response->getBody();
44 return $this->response->getCookies();
48 public function addPostData($name, $value, $preencoded =
false)
sendRequest($saveBody=true)
addPostData($name, $value, $preencoded=false)
setHeader($name, $value=null, $replace=true)
addPostParameter($name, $value=null)