Learn R Programming

⚠️There's a newer version (1.6.0) of this package.Take me there.

crul (version 1.4.2)

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

29,178

Version

1.4.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Scott Chamberlain

Last Published

April 9th, 2024

Functions in crul (1.4.2)

Paginator

Paginator client
HttpRequest

HTTP request object
AsyncQueue

AsyncQueue
HttpClient

HTTP client
auth

Authentication
AsyncVaried

Async client for different request types
content-types

Working with content types
cookies

Working with cookies
HttpResponse

Base HTTP response object
Async

Simple async client
curl_verbose

curl verbose method
handle

Make a handle
crul-package

crul: HTTP Client
curl-options

curl options
crul-options

Set curl options, proxy, and basic auth
ok

check if a url is okay
http-headers

Working with HTTP headers
progress

progress bars
verb-GET

HTTP verb info: GET
verb-HEAD

HTTP verb info: HEAD
verb-PUT

HTTP verb info: PUT
mock

Mocking HTTP requests
hooks

Event Hooks
url_build

Build and parse URLs
writing-options

Writing data options
verb-DELETE

HTTP verb info: DELETE
verb-POST

HTTP verb info: POST
verb-PATCH

HTTP verb info: PATCH
proxies

proxy options
upload

upload file