You are here

public function HttpClient::getApi in HTTP Client Manager 8

Same name and namespace in other branches
  1. 8.2 src/HttpClient.php \Drupal\http_client_manager\HttpClient::getApi()

Get Http Service Api data.

Return value

array An array containing service api data.

Overrides HttpClientInterface::getApi

1 call to HttpClient::getApi()
HttpClient::setupGuzzleClient in src/HttpClient.php
Setup Guzzle Client from *.http_services_api.yml files.

File

src/HttpClient.php, line 67

Class

HttpClient

Namespace

Drupal\http_client_manager

Code

public function getApi() {
  return $this->api;
}