mirror of
https://github.com/actix/actix-website
synced 2025-01-23 00:25:55 +01:00
updates a few links.
This commit is contained in:
parent
eff4edb6fa
commit
0934b77762
@ -91,5 +91,5 @@ different responder types into a single type.
|
|||||||
[implfromrequest]: https://docs.rs/actix-web/1.0.2/actix_web/trait.FromRequest.html
|
[implfromrequest]: https://docs.rs/actix-web/1.0.2/actix_web/trait.FromRequest.html
|
||||||
[implresponder]: https://docs.rs/actix-web/1.0.2/actix_web/trait.Responder.html
|
[implresponder]: https://docs.rs/actix-web/1.0.2/actix_web/trait.Responder.html
|
||||||
[respondertrait]: https://docs.rs/actix-web/1.0.2/actix_web/trait.Responder.html
|
[respondertrait]: https://docs.rs/actix-web/1.0.2/actix_web/trait.Responder.html
|
||||||
[responderimpls]: ../../actix-web/actix_web/trait.Responder.html#foreign-impls
|
[responderimpls]: https://docs.rs/actix-web/1.0.2/actix_web/trait.Responder.html#foreign-impls
|
||||||
[either]: ../../actix-web/actix_web/enum.Either.html
|
[either]: https://docs.rs/actix-web/1.0.2/actix_web/enum.Either.html
|
||||||
|
@ -30,6 +30,6 @@ connection and tls connection. [rfc section 3.4][rfcsection34].
|
|||||||
|
|
||||||
[rfcsection32]: https://http2.github.io/http2-spec/#rfc.section.3.2
|
[rfcsection32]: https://http2.github.io/http2-spec/#rfc.section.3.2
|
||||||
[rfcsection34]: https://http2.github.io/http2-spec/#rfc.section.3.4
|
[rfcsection34]: https://http2.github.io/http2-spec/#rfc.section.3.4
|
||||||
[bindssl]: ../../actix-web/actix_web/server/struct.HttpServer.html#method.serve_tls
|
[bindssl]: https://docs.rs/actix-web/1.0.2/actix_web/struct.HttpServer.html#method.bind_ssl
|
||||||
[tlsalpn]: https://tools.ietf.org/html/rfc7301
|
[tlsalpn]: https://tools.ietf.org/html/rfc7301
|
||||||
[examples]: https://github.com/actix/examples/tree/master/tls
|
[examples]: https://github.com/actix/examples/tree/master/tls
|
||||||
|
@ -58,7 +58,7 @@ The following demonstrates multipart stream handling for a simple form:
|
|||||||
# Urlencoded body
|
# Urlencoded body
|
||||||
|
|
||||||
Actix-web provides support for *application/x-www-form-urlencoded* encoded bodies with
|
Actix-web provides support for *application/x-www-form-urlencoded* encoded bodies with
|
||||||
the [`web::Form`][urlencoded] extractor which resolves to the deserialized instance. The
|
the [`web::Form`][formencoded] extractor which resolves to the deserialized instance. The
|
||||||
type of the instance must implement the `Deserialize` trait from *serde*.
|
type of the instance must implement the `Deserialize` trait from *serde*.
|
||||||
|
|
||||||
The *UrlEncoded* future can resolve into an error in several cases:
|
The *UrlEncoded* future can resolve into an error in several cases:
|
||||||
@ -80,10 +80,10 @@ In the following example, we read and print the request payload chunk by chunk:
|
|||||||
{{< include-example example="requests" file="streaming.rs" section="streaming" >}}
|
{{< include-example example="requests" file="streaming.rs" section="streaming" >}}
|
||||||
|
|
||||||
[examples]: https://github.com/actix/examples/tree/master/json/
|
[examples]: https://github.com/actix/examples/tree/master/json/
|
||||||
[multipartstruct]: ../../actix-web/actix_web/multipart/struct.Multipart.html
|
[multipartstruct]: https://docs.rs/actix-multipart/0.1.2/actix_multipart/struct.Multipart.html
|
||||||
[fieldstruct]: ../../actix-web/actix_web/multipart/struct.Field.html
|
[fieldstruct]: https://docs.rs/actix-multipart/0.1.2/actix_multipart/struct.Field.html
|
||||||
[multipartexample]: https://github.com/actix/examples/tree/master/multipart/
|
[multipartexample]: https://github.com/actix/examples/tree/master/multipart/
|
||||||
[urlencoder]: ../../actix-web/actix_web/dev/struct.UrlEncoded.html
|
[urlencoded]: https://docs.rs/actix-web/1.0.2/actix_web/dev/struct.UrlEncoded.html
|
||||||
[payloadextractor]: https://docs.rs/actix-web/1.0.2/actix_web/web/struct.Payload.html
|
[payloadextractor]: https://docs.rs/actix-web/1.0.2/actix_web/web/struct.Payload.html
|
||||||
[multipartcrate]: https://crates.io/crates/actix-multipart
|
[multipartcrate]: https://crates.io/crates/actix-multipart
|
||||||
[urlencoded]:Jhttps://docs.rs/actix-web/1.0.2/actix_web/web/struct.Form.html
|
[formencoded]:Jhttps://docs.rs/actix-web/1.0.2/actix_web/web/struct.Form.html
|
||||||
|
@ -75,4 +75,4 @@ is enabled automatically.
|
|||||||
|
|
||||||
{{< include-example example="responses" file="chunked.rs" section="chunked" >}}
|
{{< include-example example="responses" file="chunked.rs" section="chunked" >}}
|
||||||
|
|
||||||
[responsebuilder]: ../../actix-web/actix_web/dev/struct.HttpResponseBuilder.html
|
[responsebuilder]: https://docs.rs/actix-web/1.0.2/actix_web/dev/struct.HttpResponseBuilder.html
|
||||||
|
@ -117,12 +117,12 @@ are available on unix systems.
|
|||||||
[`HttpServer::disable_signals()`][disablesignals] method.
|
[`HttpServer::disable_signals()`][disablesignals] method.
|
||||||
|
|
||||||
[httpserverstruct]: https://docs.rs/actix-web/1.0.2/actix_web/struct.HttpServer.html
|
[httpserverstruct]: https://docs.rs/actix-web/1.0.2/actix_web/struct.HttpServer.html
|
||||||
[bindmethod]: ../../actix-web/actix_web/server/struct.HttpServer.html#method.bind
|
[bindmethod]: https://docs.rs/actix-web/1.0.2/actix_web/struct.HttpServer.html#method.bind
|
||||||
[bindsslmethod]: ../../actix-web/actix_web/server/struct.HttpServer.html#method.bind_ssl
|
[bindsslmethod]: https://docs.rs/actix-web/1.0.2/actix_web/struct.HttpServer.html#method.bind_ssl
|
||||||
[bindrusttls]: ../../actix-web/1.0.0/actix_web/struct.HttpServer.html#method.bind_rustls
|
[bindrusttls]: https://docs.rs/actix-web/1.0.2/actix_web/struct.HttpServer.html#method.bind_rustls
|
||||||
[startmethod]: ../../actix-web/actix_web/server/struct.HttpServer.html#method.start
|
[startmethod]: https://docs.rs/actix-web/1.0.2/actix_web/struct.HttpServer.html#method.start
|
||||||
[workers]: ../../actix-web/actix_web/server/struct.HttpServer.html#method.workers
|
[workers]: https://docs.rs/actix-web/1.0.2/actix_web/struct.HttpServer.html#method.workers
|
||||||
[tlsalpn]: https://tools.ietf.org/html/rfc7301
|
[tlsalpn]: https://tools.ietf.org/html/rfc7301
|
||||||
[exampletls]: https://github.com/actix/examples/tree/master/tls
|
[exampletls]: https://github.com/actix/examples/tree/master/tls
|
||||||
[shutdowntimeout]: ../../actix-web/actix_web/server/struct.HttpServer.html#method.shutdown_timeout
|
[shutdowntimeout]: https://docs.rs/actix-web/1.0.2/actix_web/struct.HttpServer.html#method.shutdown_timeout
|
||||||
[disablesignals]: (../../actix-web/actix_web/server/struct.HttpServer.html#method.disable_signals)
|
[disablesignals]: https://docs.rs/actix-web/1.0.2/actix_web/struct.HttpServer.html#method.disable_signals
|
||||||
|
@ -48,6 +48,6 @@ For example of testing [*Server Sent Events*][serversentevents].
|
|||||||
{{< include-example example="testing" file="stream_response.rs" section="stream-response" >}}
|
{{< include-example example="testing" file="stream_response.rs" section="stream-response" >}}
|
||||||
|
|
||||||
[serversentevents]: https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events
|
[serversentevents]: https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events
|
||||||
[clientresponse]: ../../actix-web/actix_web/client/struct.ClientResponse.html
|
[clientresponse]: https://docs.rs/actix-web/1.0.2/actix_web/client/struct.ClientResponse.html
|
||||||
[actixdocs]: (https://docs.rs/actix-web/1.0.2/actix_web/test/index.html)
|
[actixdocs]: (https://docs.rs/actix-web/1.0.2/actix_web/test/index.html)
|
||||||
[testrequest]: https://docs.rs/actix-web/1.0.2/actix_web/error/trait.ResponseError.html#foreign-impls
|
[testrequest]: https://docs.rs/actix-web/1.0.2/actix_web/error/trait.ResponseError.html#foreign-impls
|
||||||
|
Loading…
x
Reference in New Issue
Block a user