Lines Matching refs:httpHandler
310 * @param callable $httpHandler callback which delivers psr7 request
313 public static function onGce(callable $httpHandler = null) argument
315 $httpHandler = $httpHandler
471 $httpHandler = HttpHandlerFactory::build(HttpClientCache::getHttpClient());
475 $signer = $this->iam ?: new Iam($httpHandler);
477 $email = $this->getClientName($httpHandler);
483 : $this->fetchAuthToken($httpHandler)['access_token'];
494 * @param callable $httpHandler Callback which delivers psr7 request
497 public function getProjectId(callable $httpHandler = null) argument
503 $httpHandler = $httpHandler
507 $this->isOnGce = self::onGce($httpHandler);
515 $this->projectId = $this->getFromMetadata($httpHandler, self::getProjectIdUri());
522 * @param callable $httpHandler An HTTP Handler to deliver PSR7 requests.
526 private function getFromMetadata(callable $httpHandler, $uri) argument
528 $resp = $httpHandler(