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.
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.
A helper macro for quickly rendering a view inside a route call.
The main way to load the static files as ready-to-use routes in the application.