You are here

public function MailchimpCurlHttpClient::__construct in Mailchimp 8

MailchimpCurlHttpClient constructor.

Parameters

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

File

lib/mailchimp-api-php/src/http/MailchimpCurlHttpClient.php, line 21

Class

MailchimpCurlHttpClient
An HTTP client for use with the Mailchimp API using cURL.

Namespace

Mailchimp\http

Code

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