Lines Matching refs:ch
81 $ch = curl_init($webhook);
90 curl_setopt($ch, CURLOPT_PROXY, $proxyAddress);
91 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
93 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
98 curl_setopt($ch, CURLOPT_PROXYUSERPWD, $proxyAuth);
105 curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
106 curl_setopt($ch, CURLOPT_POSTFIELDS, "payload={$pay}");
107 curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
108 $result = curl_exec($ch);
112 echo 'cURL error when posting Wiki save notification to Rocket.Chat+: ' . curl_error($ch);
116 curl_close($ch);