Learn R Programming

crul (version 1.5.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
handle("https://hb.opencpu.org")

# handles - pass in your own handle
if (FALSE) {
h <- handle("https://hb.opencpu.org")
(res <- HttpClient$new(handle = h))
out <- res$get("get")
}

Run the code above in your browser using DataLab