Package: zuhttp 0.1.0

zuhttp: Minimal HTTP Client Using Native System TLS

A small client for the Hypertext Transfer Protocol (HTTP/1.1 and HTTP/2), over plain connections and over Transport Layer Security (TLS), that uses the operating system's own TLS implementation and certificate trust store instead of a bundled cryptography library or certificate bundle: 'Schannel' on 'Windows', Apple's native TLS on 'macOS', and 'OpenSSL' elsewhere. Provides a total request timeout, cancellation from 'R' with an interrupt, connection reuse, streaming of response bodies to files or callbacks, structured error conditions, and a pluggable transport layer for testing without a network. Intended as a focused alternative to full multi-protocol clients for packages that only need reliable HTTP requests.

Authors:Pedro Baltazar [aut, cre, cph], Kazuho Oku [cph], Tokuhiro Matsuno [cph], Daisuke Murase [cph], Shigeo Mitsunari [cph], Weijia Song [cph], Sebastian Pipping [cph], Tatsuhiro Tsujikawa [cph], nghttp2 contributors [cph], sfparse contributors [cph], nghttp3 contributors [cph]

zuhttp_0.1.0.tar.gz
zuhttp_0.1.0.zip(r-4.7-x86_64)zuhttp_0.1.0.zip(r-4.6-x86_64)zuhttp_0.1.0.zip(r-4.5-x86_64)
zuhttp_0.1.0.tgz(r-4.6-x86_64)zuhttp_0.1.0.tgz(r-4.6-arm64)zuhttp_0.1.0.tgz(r-4.5-x86_64)zuhttp_0.1.0.tgz(r-4.5-arm64)
zuhttp_0.1.0.tar.gz(r-4.7-arm64)zuhttp_0.1.0.tar.gz(r-4.7-x86_64)zuhttp_0.1.0.tar.gz(r-4.6-arm64)zuhttp_0.1.0.tar.gz(r-4.6-x86_64)
zuhttp_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
zuhttp/json (API)

# Install 'zuhttp' in R:
install.packages('zuhttp', repos = c('https://pedrobtz.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/pedrobtz/zuhttp/issues

Pkgdown/docs site:https://pedrobtz.github.io

Uses libs:
  • opensslโ€“ Secure Sockets Layer toolkit
  • zlibโ€“ Compression library

On CRAN:

Conda:

opensslzlib

2.98 score 27 scripts 67 exports 1 dependencies

Last updated from:5ef5aa5bfc. Checks:13 OK, 2 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK113
linux-devel-x86_64OK144
source / vignettesOK174
linux-release-arm64OK114
linux-release-x86_64OK146
macos-release-arm64OK149
macos-release-x86_64OK203
macos-oldrel-arm64OK142
macos-oldrel-x86_64OK302
windows-devel-arm64FAIL326
windows-devel-x86_64OK181
windows-release-arm64FAIL324
windows-release-x86_64OK121
windows-oldrel-x86_64OK145
wasm-releaseOK124

Exports:zu_body_filezu_body_formzu_body_jsonzu_body_rawzu_body_rewindablezu_body_streamzu_cassette_clearzu_cassette_interactionszu_cassette_transportzu_clientzu_client_updatezu_conditionzu_default_clientzu_deletezu_getzu_headzu_headerszu_hookszu_infozu_mock_transportzu_patchzu_performzu_poolzu_pool_resetzu_pool_statszu_postzu_putzu_queryzu_redact_headerszu_redact_paramszu_redact_urlzu_req_callbackzu_req_checkzu_req_pathzu_req_redirectszu_req_replay_safezu_req_retryzu_req_timeoutzu_req_tracezu_requestzu_resp_abortzu_resp_checkzu_resp_connectionzu_resp_headerzu_resp_headerszu_resp_htmlzu_resp_jsonzu_resp_methodzu_resp_okzu_resp_pathzu_resp_rawzu_resp_readzu_resp_statuszu_resp_textzu_resp_timingszu_resp_tracezu_resp_trailerszu_resp_urlzu_resp_xmlzu_responsezu_retryzu_set_default_clientzu_set_json_backendzu_stubzu_tlszu_tls_backendzu_verbose

Dependencies:zujson

Readme and manuals

Help Manual

Help pageTopics
Set the request bodyzu_body zu_body_file zu_body_form zu_body_json zu_body_raw zu_body_stream
Whether a request's body can be replayedzu_body_rewindable
Inspect or delete a cassettezu_cassette_clear zu_cassette_interactions
Record and replay HTTP interactionszu_cassette_transport
Create a reusable clientzu_client
Derive a client from anotherzu_client_update
Construct a zuhttp conditionzu_condition
The package-managed default clientzu_default_client
Add headerszu_headers
Register lifecycle hookszu_hooks
What this build of zuhttp can dozu_info
Perform a request in one callzu_delete zu_get zu_head zu_methods zu_patch zu_post zu_put
Perform a requestzu_perform
Connection pool settingszu_pool
Close a client's idle connectionszu_pool_reset
Connection reuse counterszu_pool_stats
Add query parameterszu_query
Additional header names to redactzu_redact_headers
Additional query parameter names to redactzu_redact_params
Redact credentials from a URLzu_redact_url
Stream the response body to a callbackzu_req_callback
Stream the response body to a filezu_req_path
Set request policyzu_req_check zu_req_policy zu_req_redirects zu_req_timeout
Whether a request is safe to replayzu_req_replay_safe
Per-request retry settingszu_req_retry
Record a ยง35.3 event trace for this requestzu_req_trace
Build a request without performing itzu_request
Response accessorszu_resp zu_resp_header zu_resp_headers zu_resp_method zu_resp_ok zu_resp_path zu_resp_status zu_resp_timings zu_resp_url
Raise a condition for an error statuszu_resp_check
Connection metadatazu_resp_connection
The response body as parsed JSON, XML or HTMLzu_resp_html zu_resp_json zu_resp_xml
The response body, decodedzu_resp_raw
Read a streamed response body, its trailers, or stop readingzu_resp_abort zu_resp_read zu_resp_trailers
The response body as textzu_resp_text
The event trace for a requestzu_resp_trace
Construct a responsezu_response
Retry policyzu_retry
Replace the default clientzu_set_default_client
Choose the JSON implementationzu_set_json_backend
Match a request and return a canned responsezu_stub
TLS and certificate trust settingszu_tls
The TLS backend this build was linked againstzu_tls_backend
Transportszu_mock_transport zu_transport
Print a trace of each requestzu_verbose
HTTPS in a forked processzuhttp_fork
TLS backends and their limitszuhttp_tls