Package: tower 0.2.0
tower: Easy Middle Ware Library for 'shiny'
The best way to implement middle ware for 'shiny' Applications. 'tower' is designed to make implementing behavior on top of 'shiny' easy with a layering model for incoming HTTP requests and server sessions. 'tower' is a very minimal package with little overhead, it is mainly meant for other package developers to implement new behavior.
Authors:
tower_0.2.0.tar.gz
tower_0.2.0.zip(r-4.7)tower_0.2.0.zip(r-4.6)tower_0.2.0.zip(r-4.5)
tower_0.2.0.tgz(r-4.6-any)tower_0.2.0.tgz(r-4.5-any)
tower_0.2.0.tar.gz(r-4.7-any)tower_0.2.0.tar.gz(r-4.6-any)
tower_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
tower/json (API)
| # Install 'tower' in R: |
| install.packages('tower', repos = c('https://ixpantia.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ixpantia/tower/issues
Last updated from:b6a8365913. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 103 | ||
| source / vignettes | OK | 151 | ||
| linux-release-x86_64 | OK | 101 | ||
| macos-release-arm64 | OK | 85 | ||
| macos-oldrel-arm64 | OK | 98 | ||
| windows-devel | OK | 78 | ||
| windows-release | OK | 104 | ||
| windows-oldrel | OK | 63 | ||
| wasm-release | OK | 102 |
Exports:add_bodyadd_body_jsonadd_cookieadd_delete_routeadd_get_routeadd_http_layeradd_patch_routeadd_post_routeadd_put_routeadd_routeadd_server_layerapp_into_partsbuild_http_cookiebuild_responsebuild_towercreate_towerreq_body_formreq_body_jsonreq_cookiesreq_queryresponse_builderset_content_typeset_headerset_status
Dependencies:clicurlgluejsonlitelifecyclemagrittrpurrrrlangstringistringrvctrs
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Add a body to a response | add_body |
| Add a body to a response as JSON | add_body_json |
| Add a cookie to a response | add_cookie |
| Add a DELETE route | add_delete_route |
| Add a GET route | add_get_route |
| Add an HTTP layer to a tower | add_http_layer |
| Add a PATCH route | add_patch_route |
| Add a POST route | add_post_route |
| Add a PUT route | add_put_route |
| Add an HTTP layer to a tower | add_route |
| Add a server layer to a tower | add_server_layer |
| Into parts | app_into_parts |
| Build a cookie | build_http_cookie |
| Build a response | build_response |
| Build a 'shiny' app from a tower | build_tower |
| Create a new tower | create_tower |
| Print a tower | print.tower |
| Extract form data from a request | req_body_form |
| Extract the request body from a JSON request | req_body_json |
| Extract cookies from a request | req_cookies |
| Extract query parameters from a request | req_query |
| Create a response builder | response_builder |
| Set the content type of a response | set_content_type |
| Set a header on a response | set_header |
| Set the status of a response | set_status |
