Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 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 | } |