function _campaignmonitor_create_client in Campaign Monitor 5
Same name and namespace in other branches
- 6 campaignmonitor.module \_campaignmonitor_create_client()
4 calls to _campaignmonitor_create_client()
File
- ./
campaignmonitor.module, line 380
Code
function _campaignmonitor_create_client() {
$client = new SoapClient(null, array(
"location" => "http://app.campaignmonitor.com/api/api.asmx",
"uri" => "http://app.campaignmonitor.com/api/",
"style" => SOAP_RPC,
"use" => SOAP_LITERAL,
"trace" => true,
"connection_timeout" => (int) variable_get('campaignmonitor_connection_timeout', '15'),
));
return $client;
}