Package: reqres 0.2.5.9000

reqres: Powerful Classes for HTTP Requests and Responses

In order to facilitate parsing of http requests and creating appropriate responses this package provides two classes to handle a lot of the housekeeping involved in working with http exchanges. The infrastructure builds upon the 'rook' specification and is thus well suited to be combined with 'httpuv' based web servers.

Authors:Thomas Lin Pedersen [cre, aut]

reqres_0.2.5.9000.tar.gz
reqres_0.2.5.9000.zip(r-4.5)reqres_0.2.5.9000.zip(r-4.4)reqres_0.2.5.9000.zip(r-4.3)
reqres_0.2.5.9000.tgz(r-4.4-any)reqres_0.2.5.9000.tgz(r-4.3-any)
reqres_0.2.5.9000.tar.gz(r-4.5-noble)reqres_0.2.5.9000.tar.gz(r-4.4-noble)
reqres_0.2.5.9000.tgz(r-4.4-emscripten)reqres_0.2.5.9000.tgz(r-4.3-emscripten)
reqres.pdf |reqres.html
reqres/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/thomasp85/reqres/issues

On CRAN:

httphttp-serverrequestresponse

21 exports 36 stars 2.88 score 13 dependencies 2 dependents 17 scripts 683 downloads

Last updated 2 years agofrom:ad524e65e6. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 12 2024
R-4.5-winOKAug 12 2024
R-4.5-linuxOKAug 12 2024
R-4.4-winOKAug 12 2024
R-4.4-macOKAug 12 2024
R-4.3-winOKAug 12 2024
R-4.3-macOKAug 12 2024

Exports:as.Requestdefault_formattersdefault_parsersformat_htmlformat_jsonformat_plainformat_tableformat_xmlfrom_http_dateis.Requestis.Responseparse_htmlparse_jsonparse_multiformparse_plainparse_queryformparse_tableparse_xmlRequestResponseto_http_date

Dependencies:assertthatbrotliclicurljsonliteR6Rcpprlangstringitriebeardurltoolswebutilsxml2

Readme and manuals

Help Manual

Help pageTopics
A list of default formatter mappingsdefault_formatters
A list of default parser mappingsdefault_parsers
Pre-supplied formatting generatorsformatters format_html format_json format_plain format_table format_xml
Pre-supplied parsing generatorsparsers parse_html parse_json parse_multiform parse_plain parse_queryform parse_table parse_xml
HTTP Request Handlingas.Request is.Request Request
HTTP Response handlingas.list.Response is.Response Response
Format timestamps to match the HTTP specsfrom_http_date to_http_date