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

Method getRawData

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

Source from the content-addressed store, hash-verified

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

Callers 1

readDataMethod · 0.95

Calls 2

requestMethod · 0.45

Tested by

no test coverage detected