($url, $option)
| 350 | } |
| 351 | |
| 352 | private function getRawData($url, $option) { |
| 353 | $response = $this->httpClient->request($url, 'GET', $this->buildHtmlRequestHeaders($option)); |
| 354 | return ['data' => $response['body'], 'http_code' => $response['status'], 'request_error' => $response['error']]; |
| 355 | } |
| 356 | |
| 357 | private function buildHtmlRequestHeaders(array $option): array { |
| 358 | $headers = [ |
no test coverage detected