Learn R Programming

crul (version 1.6.0)

HTTP Client

Description

A simple HTTP client, with tools for making HTTP requests, and mocking HTTP requests. The package is built on R6, and takes inspiration from Ruby's 'faraday' gem (). The package name is a play on curl, the widely used command line tool for HTTP, and this package is built on top of the R package 'curl', an interface to 'libcurl' ().

Copy Link

Version

Install

install.packages('crul')

Monthly Downloads

30,396

Version

1.6.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Scott Chamberlain

Last Published

July 23rd, 2025

Functions in crul (1.6.0)

auth

Authentication
Paginator

Paginator client
ok

check if a url is okay
http-headers

Working with HTTP headers
cookies

Working with cookies
AsyncQueue

AsyncQueue
HttpResponse

Base HTTP response object
content-types

Working with content types
Async

Simple async client
HttpRequest

HTTP request object
AsyncVaried

Async client for different request types
hooks

Event Hooks
mock

Mocking HTTP requests
HttpClient

HTTP client
crul-options

Set curl options, proxy, and basic auth
curl_verbose

curl verbose method
handle

Make a handle
curl-options

curl options
crul-package

crul: HTTP Client
verb-PUT

HTTP verb info: PUT
proxies

proxy options
upload

upload file
writing-options

Writing data options
verb-HEAD

HTTP verb info: HEAD
progress

progress bars
verb-GET

HTTP verb info: GET
verb-PATCH

HTTP verb info: PATCH
verb-POST

HTTP verb info: POST
verb-DELETE

HTTP verb info: DELETE
url_build

Build and parse URLs