mirror of
https://github.com/actix/actix-website
synced 2024-11-23 16:31:08 +01:00
Documentation: extractor page navigation bar is missing sections (#302)
This commit is contained in:
parent
f6b43d5efc
commit
28cb016092
@ -46,7 +46,7 @@ The following example limits the size of the payload to 4kb and uses a custom er
|
||||
|
||||
<CodeBlock example="extractors" file="json_two.rs" section="json-two" />
|
||||
|
||||
# URL-Encoded Forms
|
||||
## URL-Encoded Forms
|
||||
|
||||
A URL-encoded form body can be extracted to a struct, much like `Json<T>`. This type must implement `serde::Deserialize`.
|
||||
|
||||
@ -64,7 +64,7 @@ Actix Web also provides many other extractors, here's a few important ones:
|
||||
- [`Bytes`][bytes] - You can convert a request's payload into _Bytes_. [_An example_][bytesexample] is available in the rustdoc.
|
||||
- [`Payload`][payload] - Low-level payload extractor primarily for building other extractors. [_An example_][payloadexample] is available in the rustdoc.
|
||||
|
||||
# Application State Extractor
|
||||
## Application State Extractor
|
||||
|
||||
Application state is accessible from the handler with the `web::Data` extractor; however, state is accessible as a read-only reference. If you need mutable access to state, it must be implemented.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user