Crate ic_pluto

Crate ic_pluto 

Source

Modules§

all_or_some
cors
http
method
The HTTP request method
router
static_files
view

Macros§

http_serve
This macro is used to create a new instance of HttpServe. It is used in the ‘http_request’ and ‘http_request_update’ function of the canister. This macro handles routing from not upgradable request to upgradable request.
http_serve_router
This macro is used to create a new instance of HttpServe with given router. It is used in the ‘http_request’ and ‘http_request_update’ function of the canister. This macro handles routing from not upgradable request to upgradable request.
render_view
A helper macro for quickly rendering a view inside a route call.
use_static_files
The main way to load the static files as ready-to-use routes in the application.