Learn R Programming

crul (version 1.5.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

62,858

Version

1.5.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Last Published

July 19th, 2024

Functions in crul (1.5.0)

Paginator

Paginator client
content-types

Working with content types
Async

Simple async client
AsyncVaried

Async client for different request types
HttpRequest

HTTP request object
HttpClient

HTTP client
HttpResponse

Base HTTP response object
cookies

Working with cookies
AsyncQueue

AsyncQueue
mock

Mocking HTTP requests
crul-package

crul: HTTP Client
auth

Authentication
ok

check if a url is okay
curl-options

curl options
http-headers

Working with HTTP headers
crul-options

Set curl options, proxy, and basic auth
progress

progress bars
verb-PUT

HTTP verb info: PUT
writing-options

Writing data options
hooks

Event Hooks
handle

Make a handle
upload

upload file
curl_verbose

curl verbose method
proxies

proxy options
url_build

Build and parse URLs
verb-DELETE

HTTP verb info: DELETE
verb-GET

HTTP verb info: GET
verb-PATCH

HTTP verb info: PATCH
verb-POST

HTTP verb info: POST
verb-HEAD

HTTP verb info: HEAD