handle {crul}R Documentation

Make a handle

Description

Make a handle

Usage

handle(url, ...)

Arguments

url

(character) A url. required.

...

options passed on to curl::new_handle()

Examples

handle("https://hb.opencpu.org")

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

## End(Not run)

[Package crul version 1.4.2 Index]