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:
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.5-any)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
Pkgdown site:https://reqres.data-imaginist.com
httphttp-serverrequestresponse
Last updated 3 days agofrom:31e1e5cd5a. Checks:1 OK, 8 WARNING. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 10 2025 |
R-4.5-win | WARNING | Mar 10 2025 |
R-4.5-mac | WARNING | Mar 10 2025 |
R-4.5-linux | WARNING | Mar 10 2025 |
R-4.4-win | WARNING | Mar 10 2025 |
R-4.4-mac | WARNING | Mar 10 2025 |
R-4.4-linux | WARNING | Mar 10 2025 |
R-4.3-win | WARNING | Mar 10 2025 |
R-4.3-mac | WARNING | Mar 10 2025 |
Exports:abort_bad_requestabort_conflictabort_forbiddenabort_goneabort_http_problemabort_internal_errorabort_method_not_allowedabort_not_acceptableabort_not_foundabort_statusabort_unauthorizedas.Requestdefault_formattersdefault_parsersformat_htmlformat_jsonformat_plainformat_tableformat_xmlfrom_http_datehandle_problemis_reqres_problemis_session_cookie_settingsis.Requestis.Responseparse_htmlparse_jsonparse_multiformparse_plainparse_queryformparse_tableparse_xmlquery_parserrandom_keyRequestResponsesession_cookieto_http_date
Dependencies:base64encbrotliclicurlgluejsonlitelifecycleR6Rcpprlangsodiumstringitriebeardurltoolswebutilsxml2
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Abort request processing with an HTTP problem response | abort_bad_request abort_conflict abort_forbidden abort_gone abort_http_problem abort_internal_error abort_method_not_allowed abort_not_acceptable abort_not_found abort_status abort_unauthorized handle_problem is_reqres_problem |
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 |
Parse a query string | query_parser |
Generate a random key compatible with encryption and decryption in requests and responses | random_key |
HTTP Request Handling | as.Request is.Request Request |
HTTP Response handling | as.list.Response is.Response Response |
Collect settings for a session cookie | is_session_cookie_settings session_cookie |
Format timestamps to match the HTTP specs | from_http_date to_http_date |