Package: biohttp 0.1.3
biohttp: Normalized HTTP Transport with Circuit Breaking and Caching
Web service calls return a normalized result value instead of raising a condition, so a caller branches on data rather than on an error handler. Transport failure, a non-success status code, and an unreadable response body are reported as three distinct outcomes. Per-host circuit breaking, retry with a transient-failure predicate, optional throttling, redacted request headers, and a success-only cache come as defaults. Many questions to one source can be asked as a single batch, where only the entries the cache is missing reach the network. Service-specific knowledge is left to the client packages built on top. The circuit breaker is the pattern described in Nygard (2018, ISBN:9781680502398).
Authors:
biohttp_0.1.3.tar.gz
biohttp_0.1.3.zip(r-4.7-any)biohttp_0.1.3.zip(r-4.6-any)biohttp_0.1.3.zip(r-4.5-any)
biohttp_0.1.3.tgz(r-4.6-any)biohttp_0.1.3.tgz(r-4.5-any)
biohttp_0.1.3.tar.gz(r-4.7-any)biohttp_0.1.3.tar.gz(r-4.6-any)
biohttp_0.1.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
biohttp/json (API)
| # Install 'biohttp' in R: |
| install.packages('biohttp', repos = c('https://samuelbharti.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/samuelbharti/biohttp/issues
Pkgdown/docs site:https://www.samuelbharti.com
api-clientbioinformaticscachingcircuit-breakerhttphttr2retry
Last updated from:5e8e5ebe7a. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 145 | ||
| source / vignettes | OK | 180 | ||
| linux-release | OK | 151 | ||
| macos-release | OK | 132 | ||
| macos-oldrel | OK | 125 | ||
| windows-devel | OK | 88 | ||
| windows-release | OK | 96 | ||
| windows-oldrel | OK | 102 | ||
| wasm-release | OK | 81 |
Exports:as_legacy_envelopebody_or_nullbreaker_openbreaker_recordbreaker_resetcachecache_keycache_resetcachedclassify_conditionclassify_httpenvelopeget_jsonget_json_manyget_textget_text_manygraphql_errorhttp_error_messageis_blankis_transientperformperform_manyperform_textpluck_atpost_jsonpost_json_manyratelimit_recordratelimit_resetratelimit_waitredact_secretsreq_defaultsstatus_errorSTATUS_LEVELSstatus_messagestatus_no_datastatus_okstatus_rate_limitedstatus_skippedstatus_stalestatus_timeouttransport_statstransport_stats_resetuser_agent
Dependencies:askpasscachemclicurlfastmapgluehttr2jsonlitelifecyclemagrittropensslR6rlangsysvctrswithr
