setProxy
Specifies IP and port of a proxy server. Future requests will pass through this proxy server.
General format
void setProxy( ip, port ) |
Syntax rules
1. ip is an alphanumeric data item that specifies the proxy server IP address
2. port is a numeric data item that specifies the proxy server port.
General rules
2. The proxy remains set for all future requests performed by the HTTPClient instance.
Example
Configure a proxy for the next requests:
... configuration section. repository. class http-client as "com.iscobol.rts.HTTPClient" ... working-storage section. 77 http object reference http-client. ... procedure division. ... http:>setProxy("50.112.10.90", "8989"). ... |