Mailgun\Connection\RestClient::getHttpClient PHP Method

getHttpClient() protected method

protected getHttpClient ( ) : Http\Client\HttpClient
return Http\Client\HttpClient
    protected function getHttpClient()
    {
        if ($this->httpClient === null) {
            $this->httpClient = HttpClientDiscovery::find();
        }
        return $this->httpClient;
    }