Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added notes about extractor precedence (#1324)
* [doc] Added notes about extractor precedence Both JSON and Form extractors consume the Body when they run, so they need to be last in the order of extractors. Added a note in the structs docs themselves pointing to the relevant part of the documentation. * Address review comments - Added documentation snippet to BodyStream, RawBody, Multipart - Added documentation about the inner type of ContentLengthLimit - Fixed link type in State * Update axum/src/extract/content_length_limit.rs Co-authored-by: David Pedersen <david.pdrsn@gmail.com> * Cargo fmt didn't run for some reason I need to check my editor config... * Apply suggestions from code review Co-authored-by: David Pedersen <david.pdrsn@gmail.com> * Add targets to links Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
- Loading branch information
1 parent
f8683f3
commit b2ed55b
Showing
6 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters