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.5)tower_0.2.0.zip(r-4.4)tower_0.2.0.zip(r-4.3)
tower_0.2.0.tgz(r-4.4-any)tower_0.2.0.tgz(r-4.3-any)
tower_0.2.0.tar.gz(r-4.5-noble)tower_0.2.0.tar.gz(r-4.4-noble)
tower_0.2.0.tgz(r-4.4-emscripten)tower_0.2.0.tgz(r-4.3-emscripten)
tower.pdf |tower.html✨
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 1 months agofrom:b6a8365913. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 22 2024 |
R-4.5-win | OK | Nov 22 2024 |
R-4.5-linux | OK | Nov 22 2024 |
R-4.4-win | OK | Nov 22 2024 |
R-4.4-mac | OK | Nov 22 2024 |
R-4.3-win | OK | Nov 22 2024 |
R-4.3-mac | OK | Nov 22 2024 |
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 |