Learn R Programming

crul (version 0.9.0)

handle: Make a handle

Description

Make a handle

Usage

handle(url, ...)

Arguments

url

(character) A url. required.

...

options passed on to curl::new_handle()

Examples

Run this code
# NOT RUN {
handle("https://httpbin.org")

# handles - pass in your own handle
# }
# NOT RUN {
h <- handle("https://httpbin.org")
(res <- HttpClient$new(handle = h))
out <- res$get("get")
# }

Run the code above in your browser using DataLab