Skip to main content

http.setProxy

http.setProxy(proxy)

Description

Sets the proxy.

Parameters

ParameterTypeExplanation
proxyStringWhat the proxy will be set to

Example

http = option.http

http.setProxy(proxy)
res = http.get(url)