GDS\Gateway\RESTv1::httpClient PHP Method

httpClient() protected method

Lazily initialise the HTTP Client when needed. Once.
protected httpClient ( ) : GuzzleHttp\ClientInterface
return GuzzleHttp\ClientInterface
    protected function httpClient()
    {
        if (null === $this->obj_http_client) {
            $this->obj_http_client = $this->initHttpClient();
        }
        return $this->obj_http_client;
    }