From 0934b77762bded88f763d759e6b3193a87e415eb Mon Sep 17 00:00:00 2001 From: Cameron Dershem Date: Wed, 26 Jun 2019 03:11:05 -0400 Subject: [PATCH] updates a few links. --- content/docs/handlers.md | 4 ++-- content/docs/http2.md | 2 +- content/docs/request.md | 10 +++++----- content/docs/response.md | 2 +- content/docs/server.md | 14 +++++++------- content/docs/testing.md | 2 +- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/content/docs/handlers.md b/content/docs/handlers.md index ac00ffd..c571190 100644 --- a/content/docs/handlers.md +++ b/content/docs/handlers.md @@ -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 [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 -[responderimpls]: ../../actix-web/actix_web/trait.Responder.html#foreign-impls -[either]: ../../actix-web/actix_web/enum.Either.html +[responderimpls]: https://docs.rs/actix-web/1.0.2/actix_web/trait.Responder.html#foreign-impls +[either]: https://docs.rs/actix-web/1.0.2/actix_web/enum.Either.html diff --git a/content/docs/http2.md b/content/docs/http2.md index 3c257c9..d64e395 100644 --- a/content/docs/http2.md +++ b/content/docs/http2.md @@ -30,6 +30,6 @@ connection and tls connection. [rfc section 3.4][rfcsection34]. [rfcsection32]: https://http2.github.io/http2-spec/#rfc.section.3.2 [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 [examples]: https://github.com/actix/examples/tree/master/tls diff --git a/content/docs/request.md b/content/docs/request.md index f2cfcec..4c93f0c 100644 --- a/content/docs/request.md +++ b/content/docs/request.md @@ -58,7 +58,7 @@ The following demonstrates multipart stream handling for a simple form: # Urlencoded body 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*. 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" >}} [examples]: https://github.com/actix/examples/tree/master/json/ -[multipartstruct]: ../../actix-web/actix_web/multipart/struct.Multipart.html -[fieldstruct]: ../../actix-web/actix_web/multipart/struct.Field.html +[multipartstruct]: https://docs.rs/actix-multipart/0.1.2/actix_multipart/struct.Multipart.html +[fieldstruct]: https://docs.rs/actix-multipart/0.1.2/actix_multipart/struct.Field.html [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 [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 diff --git a/content/docs/response.md b/content/docs/response.md index 54a62b7..32d9f36 100644 --- a/content/docs/response.md +++ b/content/docs/response.md @@ -75,4 +75,4 @@ is enabled automatically. {{< 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 diff --git a/content/docs/server.md b/content/docs/server.md index 6e65f69..fb2a558 100644 --- a/content/docs/server.md +++ b/content/docs/server.md @@ -117,12 +117,12 @@ are available on unix systems. [`HttpServer::disable_signals()`][disablesignals] method. [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 -[bindsslmethod]: ../../actix-web/actix_web/server/struct.HttpServer.html#method.bind_ssl -[bindrusttls]: ../../actix-web/1.0.0/actix_web/struct.HttpServer.html#method.bind_rustls -[startmethod]: ../../actix-web/actix_web/server/struct.HttpServer.html#method.start -[workers]: ../../actix-web/actix_web/server/struct.HttpServer.html#method.workers +[bindmethod]: https://docs.rs/actix-web/1.0.2/actix_web/struct.HttpServer.html#method.bind +[bindsslmethod]: https://docs.rs/actix-web/1.0.2/actix_web/struct.HttpServer.html#method.bind_ssl +[bindrusttls]: https://docs.rs/actix-web/1.0.2/actix_web/struct.HttpServer.html#method.bind_rustls +[startmethod]: https://docs.rs/actix-web/1.0.2/actix_web/struct.HttpServer.html#method.start +[workers]: https://docs.rs/actix-web/1.0.2/actix_web/struct.HttpServer.html#method.workers [tlsalpn]: https://tools.ietf.org/html/rfc7301 [exampletls]: https://github.com/actix/examples/tree/master/tls -[shutdowntimeout]: ../../actix-web/actix_web/server/struct.HttpServer.html#method.shutdown_timeout -[disablesignals]: (../../actix-web/actix_web/server/struct.HttpServer.html#method.disable_signals) +[shutdowntimeout]: https://docs.rs/actix-web/1.0.2/actix_web/struct.HttpServer.html#method.shutdown_timeout +[disablesignals]: https://docs.rs/actix-web/1.0.2/actix_web/struct.HttpServer.html#method.disable_signals diff --git a/content/docs/testing.md b/content/docs/testing.md index 2441ef0..68bf7f8 100644 --- a/content/docs/testing.md +++ b/content/docs/testing.md @@ -48,6 +48,6 @@ For example of testing [*Server Sent Events*][serversentevents]. {{< 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 -[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) [testrequest]: https://docs.rs/actix-web/1.0.2/actix_web/error/trait.ResponseError.html#foreign-impls