use_proxy

0th

Percentile

Use a proxy to connect to the internet.

Use a proxy to connect to the internet.

Usage
use_proxy(url, port = NULL, username = NULL, password = NULL,
  auth = "basic")
Arguments
url, port

location of proxy

username, password

login details for proxy, if needed

auth

type of HTTP authentication to use. Should be one of the following: basic, digest, digest_ie, gssnegotiate, ntlm, any.

See Also

Other config: add_headers, authenticate, config, set_cookies, timeout, user_agent, verbose

Aliases
  • use_proxy
Examples
library(httr) # NOT RUN { # See http://www.hidemyass.com/proxy-list for a list of public proxies # to test with # GET("http://had.co.nz", use_proxy("64.251.21.73", 8080), verbose()) # }
Documentation reproduced from package httr, version 1.2.1, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.