| 1 |
<?php |
| 2 |
|
| 3 |
namespace HtaccessCapabilityTester; |
| 4 |
|
| 5 |
interface HttpRequesterInterface |
| 6 |
{ |
| 7 |
/** |
| 8 |
* Make a HTTP request to a URL. |
| 9 |
* |
| 10 |
* @return HttpResponse A HttpResponse object, which simply contains body, status code and response headers. |
| 11 |
* In case the request itself fails, the status code is "0" and the body should contain |
| 12 |
* error description (if available) |
| 13 |
*/ |
| 14 |
public function makeHttpRequest($url); |
| 15 |
} |
| 16 |
|