You are here

public function MailchimpGuzzleHttpClient::__construct in Mailchimp 8

MailchimpGuzzleHttpClient constructor.

Parameters

array $config: Guzzle HTTP configuration options. Currently supports only 'timeout'.

File

lib/mailchimp-api-php/src/http/MailchimpGuzzleHttpClient.php, line 30

Class

MailchimpGuzzleHttpClient
An HTTP client for use with the Mailchimp API using Guzzle.

Namespace

Mailchimp\http

Code

public function __construct($config = []) {
  $this->guzzle = new Client($config);
}