TRUE value will signal an
end to routingreport_route() so that it can be reused between instances
(#26)/report/revealjs).
This is in addition to the current options of content negotiation and
file extension appending (#28)openapi_route() now better handles docs served
through a proxyasset_route() for high performance serving of
static filesressource_route() is no longer
expected to be absolute (#18)ressource_route() (#19)openapi_route() for serving API spec based on an
openapi spec filereject_missing_methods argument to
Route$add_handler() to automatically catch requests to the
handler path that doesn’t have a matching method and return 405Lshared_secret_route() for creating simple shared
secret request rejectionempty fields to Route and RouteStack classesignore_trailing_slash argument to the RouteStack
constructor. It allows the route stack to ignore the trailing slash of
request in different waysreport_route() to create a route that
automatically renders and serves quarto and rmarkdown filesget_handler() method to Route (#9,
@cpsievert)root field to Route which will get
appended to all paths before matching to an incomming requestremap_handlers() to loop through all handlers and
reassign them based on a user provided function. (#8)on_error() method to modify how errors are handled.
The default is now to return 500 without any body and print
the error message with message().on_attach() method that uses the new logging
system to log route errors.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.