Learn R Programming

crul (version 0.2.0)

handle: Make a handle

Description

Make a handle

Usage

handle(url, ...)

Arguments

url
(character) A url. required.
...
options passed on to new_handle

Examples

Run this code
handle("https://httpbin.org")

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

Run the code above in your browser using DataLab