Tuesday, September 17, 2013

Twilio PHP Library Using A Proxy

https://github.com/twilio/twilio-php/issues/144

I found a spot where I can add a proxy to the twilio PHP library.

Go to TinyHttp.php and add the highlighted part (using your own URL of course):
$opts[CURLOPT_PROXY] = 'http://xxx.xxx.xxx.xxx:8080/';
try {
      if ($curl = curl_init()) {

No comments:

Post a Comment