handle: Make a handle

View source: R/handle.R

handleR 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)

crul documentation built on May 31, 2023, 5:42 p.m.