MCPcopy Create free account
hub / github.com/Rello/analytics / getRawData

Method getRawData

lib/Datasource/Github.php:352–355  ·  view source on GitHub ↗
($url, $option)

Source from the content-addressed store, hash-verified

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 = [

Callers 1

readDataMethod · 0.95

Calls 2

requestMethod · 0.45

Tested by

no test coverage detected