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.
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');