3 unstable releases
0.2.1 | Jan 2, 2024 |
---|---|
0.2.0 | Aug 27, 2021 |
0.1.0 | Jul 14, 2021 |
#32 in #trillium
29 downloads per month
63KB
920 lines
Welcome to Trillium!
📖 Guide 📖
The guide provides an architectural overview and lay of the land connecting the trillium crates.
📑 Rustdocs 📑
The rustdocs represent the best way to learn about any of trillium's individual crates and the specific interfaces.
Legal:
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
lib.rs
:
Trillium method override handler
This allows http clients that are unable to generate http methods
other than GET
and POST
to use POST
requests that are
interpreted as other methods such as PUT
, PATCH
, or DELETE
.
This is currently supported with a querystring parameter of
_method
. To change the querystring parameter's name, use
MethodOverride::with_param_name
By default, the only methods allowed are PUT
, PATCH
, and
DELETE
. To override this, use
MethodOverride::with_allowed_methods
Subsequent handlers see the requested method on the conn instead of POST.
Dependencies
~7.5MB
~189K SLoC