($url, $option)
| 363 | } |
| 364 | |
| 365 | private function getRawData($url, $option) { |
| 366 | $response = $this->httpClient->request($url, 'GET', $this->buildHtmlRequestHeaders($option)); |
| 367 | return ['data' => $response['body'], 'http_code' => $response['status'], 'request_error' => $response['error']]; |
| 368 | } |
| 369 | |
| 370 | private function buildHtmlRequestHeaders(array $option): array { |
| 371 | $headers = [ |
no test coverage detected