1

Question: How can a proxy server be used with Buzz?

The commit that added support for proxy can be found here. However, it no longer seems to be available in the latest commit.

Nyxynyx
  • 61,411
  • 155
  • 482
  • 830

1 Answers1

1

Buzz 0.10 contains basic proxy support (without authentication). AbstractClient has a method called setProxy() that allows you to specify the address of the proxy server. Example:

$client = new FileGetContents();
$client->setProxy('192.168.0.1:8080');
aha
  • 3,702
  • 3
  • 38
  • 47