| 1 | <?php |
||
| 7 | class Goutte extends BrowserKit |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * headers are no more stored on client, because client does not flush them when reset/restart session. |
||
| 11 | * They are on Behat\Mink\Driver\BrowserKitDriver and there is no way to get them. |
||
| 12 | * |
||
| 13 | * @var array |
||
| 14 | */ |
||
| 15 | private $requestHeaders = []; |
||
| 16 | |||
| 17 | public function send($method, $url, $parameters = [], $files = [], $content = null, $headers = []) |
||
| 27 | |||
| 28 | public function getServer() |
||
| 33 | |||
| 34 | public function getParameters() |
||
| 39 | |||
| 40 | public function setHttpHeader($name, $value) |
||
| 45 | |||
| 46 | private function resetHttpHeaders() |
||
| 50 | } |
||
| 51 |