pub type Prepare = Box<dyn PrepareCall>;
A prepare extension.
Keep in mind you have to supply the response content type in the headers. Kvarn defaults to HTML.
You also have to handle all the methods (except
HEAD). So, if you ignore methods, your
endpoint will behave the same regardless of if the client sends a
Can be created using the
Requires an object which implements the
PrepareCall trait. See it for details on arguments.