The engine supports setting the proxy per connector in a Z39.50 session in Z39.50 search. This feature is implemented by adding a proxy parameter for the Z39.50 database and use either direct proxy (http:) or auto (auto:) for a PAC file.
Example 4.3. Z39.50 session using proxy
IP/Proxy:
Z> open localhost:7999/google?proxy=http:localhost:3128
Auto:
Z> open localhost:7999/amazon_com_books?proxy=auto:http://us2.indexdata.com:9005/id/cf.pac
or on the command line:
$ yaz-client 'localhost:7999/google?proxy=http:localhost:3128'
$ yaz-client 'localhost:7999/amazon_com_books?proxy=auto:http://us2.indexdata.com:9005/id/cf.pac'