Skip to contents

crul

High level overview of package

crul crul-package
crul: HTTP Client

HTTP Verbs

verb-DELETE
HTTP verb info: DELETE
verb-GET
HTTP verb info: GET
verb-HEAD
HTTP verb info: HEAD
verb-PATCH
HTTP verb info: PATCH
verb-POST
HTTP verb info: POST
verb-PUT
HTTP verb info: PUT
writing-options
Writing data options

Main HTTP class

HttpClient
HTTP client

Pagination

Paginator
Paginator client

Request configuration

handle()
Make a handle
auth()
Authentication
cookies
Working with cookies
hooks
Event Hooks
http-headers
Working with HTTP headers
progress
progress bars
proxy()
proxy options
upload()
upload file

Async

Async
Simple async client
AsyncQueue
AsyncQueue
AsyncVaried
Async client for different request types
HttpRequest
HTTP request object

Request debugging/inspection

curl_verbose()
curl verbose method
set_opts() set_verbose() set_proxy() set_auth() set_headers() crul_settings()
Set curl options, proxy, and basic auth
curl-options user-agent verbose timeout
curl options

Check if a url is okay

ok()
check if a url is okay

HTTP responses

HttpResponse
Base HTTP response object
content-types
Working with content types

Utilities

url_build() url_parse()
Build and parse URLs
mock()
Mocking HTTP requests