doRequest() public method

Do the HTTP request.
public doRequest ( ) : array
return array HTTP response ['body' => ..., 'status' => ..., 'headers' => ...]
Beispiel #1
0
 /**
  * @expectedException PicoFeed\Client\InvalidUrlException
  */
 public function testBadUrl()
 {
     $client = new Curl();
     $client->setUrl('http://12345gfgfgf');
     $client->doRequest();
 }