Package: reqres 0.2.5.9000
![](https://github.com/thomasp85/reqres/raw/HEAD/man/figures/logo.png)
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:
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')) |
Bug tracker:https://github.com/thomasp85/reqres/issues
httphttp-serverrequestresponse
Last updated 2 years agofrom:ad524e65e6. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Aug 12 2024 |
R-4.5-win | OK | Aug 12 2024 |
R-4.5-linux | OK | Aug 12 2024 |
R-4.4-win | OK | Aug 12 2024 |
R-4.4-mac | OK | Aug 12 2024 |
R-4.3-win | OK | Aug 12 2024 |
R-4.3-mac | OK | Aug 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 page | Topics |
---|---|
A list of default formatter mappings | default_formatters |
A list of default parser mappings | default_parsers |
Pre-supplied formatting generators | formatters format_html format_json format_plain format_table format_xml |
Pre-supplied parsing generators | parsers parse_html parse_json parse_multiform parse_plain parse_queryform parse_table parse_xml |
HTTP Request Handling | as.Request is.Request Request |
HTTP Response handling | as.list.Response is.Response Response |
Format timestamps to match the HTTP specs | from_http_date to_http_date |