Package: biohttp Title: Normalized HTTP Transport with Circuit Breaking and Caching Version: 0.1.3 Authors@R: c( person("Samuel", "Bharti", , "samuelbharti.io@gmail.com", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0003-4190-7058")), person("Barret", "Schloerke", , "barret@posit.co", role = "ths", comment = c(ORCID = "0000-0001-9986-114X")), person("Carson", "Sievert", , "carson@posit.co", role = "ths", comment = c(ORCID = "0000-0002-4958-2844")), person("Posit Software, PBC", role = c("cph", "fnd"), comment = c(ROR = "03wc8by49")) ) Description: 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). License: MIT + file LICENSE URL: https://github.com/samuelbharti/biohttp, https://www.samuelbharti.com/biohttp/ BugReports: https://github.com/samuelbharti/biohttp/issues Encoding: UTF-8 Language: en-US Roxygen: list(markdown = TRUE) Depends: R (>= 4.0) Imports: cachem, curl, httr2, jsonlite, rlang, stats, tools Suggests: knitr, rmarkdown, testthat (>= 3.0.0), webfakes, withr VignetteBuilder: knitr Config/testthat/edition: 3 Config/roxygen2/version: 8.0.0 Config/pak/sysreqs: libssl-dev Repository: https://samuelbharti.r-universe.dev Date/Publication: 2026-09-16 15:00:17 UTC RemoteUrl: https://github.com/samuelbharti/biohttp RemoteRef: HEAD RemoteSha: 5e8e5ebe7a2887f4e5f70f06354e2977dbf46ba9 NeedsCompilation: no Packaged: 2026-11-16 18:05:45 UTC; root Author: Samuel Bharti [aut, cre, cph] (ORCID: ), Barret Schloerke [ths] (ORCID: ), Carson Sievert [ths] (ORCID: ), Posit Software, PBC [cph, fnd] (ROR: ) Maintainer: Samuel Bharti