Package: biohttp
Title: Normalized HTTP Transport with Circuit Breaking and Caching
Version: 0.1.2
Authors@R: 
    person("Samuel", "Bharti", , "samuelbharti.io@gmail.com",
           role = c("aut", "cre", "cph"),
           comment = c(ORCID = "0000-0003-4190-7058"))
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
Depends: R (>= 4.0)
Imports: cachem, curl, httr2, jsonlite, rlang, tools
Suggests: knitr, rmarkdown, testthat (>= 3.0.0), webfakes, withr
VignetteBuilder: knitr
Config/testthat/edition: 3
Config/roxygen2/version: 8.0.0
NeedsCompilation: no
Packaged: 2026-08-23 03:19:46 UTC; Samuel
Author: Samuel Bharti [aut, cre, cph] (ORCID:
    <https://orcid.org/0000-0003-4190-7058>)
Maintainer: Samuel Bharti <samuelbharti.io@gmail.com>
Repository: CRAN
Date/Publication: 2026-09-03 11:50:41 UTC
