1
0
mirror of https://github.com/actix/actix-website synced 2024-11-24 08:43:01 +01:00
Commit Graph

131 Commits

Author SHA1 Message Date
Cameron Dershem
8aa39e1afb begin update of docs to actix-web 1.0 2019-06-12 04:51:45 -04:00
Nikolay Kim
ad45f9e95a
Merge pull request #77 from Gobiner/patch-1
add comma to getting-started
2019-04-09 10:03:38 -07:00
Nikolay Kim
0c8ce6f832
Merge pull request #81 from yim7/master
fixed testing examples
2019-04-03 15:14:49 -07:00
Daniel Rivas
a3c82fdab4
Fix a slight typo
There was a "use" which should be "using".
2019-04-03 20:30:05 +01:00
yim7
cb47802564 fixed testing examples 2019-03-25 15:28:14 +08:00
Douman
032afec8d8 Correct custom NamedFile usage 2019-03-24 00:30:26 +03:00
Aaron Rice
1305c0d79a
add comma to getting-started 2019-03-01 21:42:52 -08:00
krircc
b15d1a1437
Merge pull request #74 from krircc/master
give an example to understand shared state simpler
2019-02-27 17:24:08 +08:00
krircc
3e093581af
Update errors.md 2019-02-27 16:07:41 +08:00
krircc
e7261cc90e
Update application.md 2019-02-26 11:54:51 +08:00
krircc
ed5406681e
Update application.md 2019-02-26 11:45:46 +08:00
Nikolay Kim
bd8f4e92d1
Merge pull request #63 from rofrol/patch-1
The start methods -> The start method
2018-12-17 07:39:50 -08:00
Nikolay Kim
8abcf6db3f
Merge pull request #66 from cjbassi/patch-1
Fix typo in server.md
2018-12-17 07:39:19 -08:00
Akos Vandra
7c8763dab0
Add note about dealing with already compressed data 2018-12-11 22:59:44 +01:00
Caleb Bassi
6d66d2453a
Fix typo in server.md 2018-11-30 09:10:07 -08:00
Roman Frołow
0dd8b580bd
The start methods -> The start method 2018-11-17 13:38:51 +01:00
Nikolay Kim
547bd66aab
Merge pull request #58 from gurry/patch-4
Improved grammar
2018-10-28 09:03:37 -07:00
Nikolay Kim
6f968426e6
Merge pull request #59 from gurry/patch-6
One more grammatical improvement
2018-10-28 09:02:47 -07:00
Gurinder Singh
a2f1b8f6bf
One more grammatical improvement
Also changed "double" to "multiple" because this feature can replace _more than_ two slashes with one  as well.
2018-10-28 08:48:33 +05:30
Gurinder Singh
512aa065c5
Improved grammar 2018-10-28 08:43:12 +05:30
Gurinder Singh
36de480a73
Fixed the location of a parenthetical comment
The explanation in the parentheses was for the PATH not the QUERY portion. Therefore I moved that explanation next to the mention of PATH. I also added a second parenthetical explanation for the QUERY portion.
2018-10-28 08:24:05 +05:30
Nikolay Kim
9286357d2d
Merge pull request #54 from iyuq/fixed-either
Fixed Either sample code
2018-10-27 04:59:04 -07:00
Nikolay Kim
6c5762391e
Merge pull request #55 from gurry/patch-1
Fixed a typo
2018-10-27 04:57:41 -07:00
Gurinder Singh
fe1926d63f
Fixed a typo 2018-10-27 16:38:08 +05:30
Gurinder Singh
c0e6a2e906
Fixed a typo 2018-10-27 14:00:03 +05:30
Qi Yu
53d491e4a6 Fixed Either sample code 2018-10-27 07:24:47 +08:00
Robert Hencke
59ed9c2b81
Small grammar fix to url-dispatch.md
Also, this is good stuff. 👍
2018-10-11 17:28:26 -04:00
Nikolay Kim
29977f4930
Merge pull request #48 from lzxZz/eaxmple-add
handlers.md example code add
2018-10-10 07:42:46 -07:00
lzxZz
8f30db9255 handlers.md example code add 2018-10-07 16:46:13 +08:00
eaydogan
96421277fb
Url Dispatch Link is Broken
Writing an Application document (application.md) refer Url Dispatch document but path is not valid. I fixed with correct value.

Current link navigate to (404)
"./docs/url-dispatch/index.html#using-an-application-prefix-to-compose-applications"

I changed it to
"/docs/url-dispatch/index.html#using-an-application-prefix-to-compose-applications"
2018-09-23 22:50:06 +03:00
Nikolay Kim
f420916025
Merge pull request #39 from shakyShane/patch-1
Update first testing example
2018-09-18 10:15:13 -07:00
Nikolay Kim
343cf8b7de
Merge pull request #44 from cirelli94/patch-1
Fix: unresolved import `actix_web`
2018-09-18 10:14:17 -07:00
Nikolay Kim
4839c49958
Merge pull request #41 from uuttff8/master
404 not found in URL Dispatch in Basics #1
2018-09-18 10:13:52 -07:00
Kelly Thomas Kline
ff9cc1439b
Correct grammar 2018-09-18 00:46:06 -07:00
Cirelli
a52fa2fd2a
Fix: unresolved import actix_web
Fixed error[E0432]: unresolved import `actix_web` adding extern crate actix_web
2018-09-03 13:04:36 +02:00
Anton Kuzmin
7b1ed355f6
404 not found in URL Dispatch in Basics #1 2018-08-06 20:35:14 +03:00
Yerkebulan Tulibergenov
6e5a175008
fix small typos in application.md 2018-08-04 15:58:27 -07:00
Shane Osbourne
561f3b7647
Update first testing example
The example provided does not compile, this change allows it to.
2018-08-04 19:20:32 +01:00
DD5HT
91eda27773 add extern crate actix_web to all samples + one missing unwrap 2018-07-22 21:31:17 +02:00
DD5HT
e5efcdcd9f add missing unwrap 2018-07-22 21:17:39 +02:00
Douman
c5b43e2f22 Update links of API docs for actix-web 2018-07-22 20:48:26 +03:00
Douman
c3456e5332 Add note on static file configuration 2018-07-21 16:33:25 +03:00
Nikolay Kim
4a41b92cc7 update user guide 2018-07-21 05:40:42 -07:00
Christian Wesselhoeft
b610d8379e
server.md: Fix typo 2018-07-13 19:54:49 -06:00
Hung-I Wang
51265305a6 Fix two typos in Basics/{Server, Extractors}. 2018-06-28 08:24:48 +08:00
krircc
bc5989fa38 clean code add new cn site 2018-06-25 22:52:00 +08:00
krircc
2da5ff93fe actix.rs/cn 2018-06-22 23:18:14 +08:00
Armin Ronacher
0f15bd9dc3 Change sentry example to use new sentry-actix 2018-06-19 19:50:00 +02:00
jasonrhansen
7833868c04
Fix typo in autoreload.md 2018-06-12 10:15:33 -06:00
Yann Simon
14e47859a0 document how to start the app with state 2018-06-08 10:17:29 +02:00
Nikolay Kim
5938691794 add vh section 2018-06-07 21:08:11 -07:00
StyMaar
2313d70e5b
Add missing word
I suppose “keep in mind” was the intended phrase (but I'm not native English speaker, I may be missing something).
2018-06-04 13:52:15 +02:00
Nikolay Kim
790afd3fb7 use tuple for multiple extractors 2018-06-02 08:31:38 -07:00
Nikolay Kim
259a2ac6f1 use tuple 2018-06-01 10:53:53 -07:00
Nikolay Kim
0b003828b3
Merge pull request #15 from hellp/patch-1
Improve extractor examples
2018-06-01 08:56:35 -07:00
Matthias Endler
b96f63841b
Fix some typos and change wording 2018-06-01 17:11:25 +02:00
Jason Davies
7217c45fce
Fix typo. 2018-05-30 21:07:50 +01:00
Fabian Neumann
1019dd2fb4
Improve extractor examples
To use `SomeType::extract(&req)` it should be mentioned at least once that `use actix_web::FromRequest` is required. Also extract takes `HttpRequest` by reference.
2018-05-28 20:55:13 +02:00
Nikolay Kim
5e9f6dd111
Merge pull request #14 from dhodder/master
Fix minor typo
2018-05-28 06:57:47 -07:00
Dave Hodder
1755cf613c Fix minor typo 2018-05-28 14:43:34 +01:00
Yuki Ishikawa
a8788507e8 Fix typo 2018-05-28 12:36:30 +09:00
Nikolay Kim
be72dac069
Merge pull request #6 from estin/stream-testing
stream response tests
2018-05-27 03:34:13 -07:00
Ivan Tham
9f1fa51a83 Add missing --no-pid (#11)
https://github.com/mitsuhiko/systemfd#usage-with-actix-web--cargo-watch-and-listenfd

From systemfd:
> And then run it (don't forget --no-pid):
2018-05-26 16:20:39 +02:00
Ivan Tham
19746a3e0f
remove --bin from cargo new
`cargo new` defaults to `--bin` since cargo 0.26
2018-05-26 15:31:13 +08:00
dowwie
f7bf9e21a8 added section on accessing Extractors 2018-05-25 15:51:16 -04:00
Nikolay Kim
842c877da2 update url-dispatch examples 2018-05-24 10:13:55 -07:00
Nikolay Kim
f2a41f0b2f
Merge pull request #5 from Dowwie/master
added Scopes section within url-dispatch
2018-05-24 07:54:31 -07:00
dowwie
8ba23ce814 removed slash from resources in scope example 2018-05-24 10:49:13 -04:00
Nikolay Kim
486d145364
Update server.md 2018-05-24 06:05:56 -07:00
Nikolay Kim
20ea20ae31 update links 2018-05-23 21:04:32 -07:00
Nikolay Kim
4500c06469 add links 2018-05-23 20:56:58 -07:00
Nikolay Kim
d27ab00b71 convert server examples 2018-05-23 20:39:15 -07:00
Armin Ronacher
ab91b27c13 Test getting-started example 2018-05-23 23:25:51 +02:00
Evgeniy Tatarkin
155e3cdbf8 stream response tests 2018-05-23 23:35:42 +03:00
Armin Ronacher
93995e185f Updated app examples 2018-05-23 22:01:36 +02:00
dowwie
c98a067163 typo 2018-05-23 15:48:50 -04:00
dowwie
0a166cd593 added section on Scopes, within url dispatch 2018-05-23 15:46:14 -04:00
Armin Ronacher
e204566062 Added basic example with includes 2018-05-23 21:28:12 +02:00
Nikolay Kim
aebbfbf9db fix application examples 2018-05-23 11:02:28 -07:00
Lyle Mantooth
e318f20a0c
Make Getting Started example compile
Unlike other code I've seen in the guide, this code didn't compile. It's especially bad that it can be the first experience someone has with actix-web, and then doesn't work. I'm going to run through the docs as a first-time user so I'll try to make sure everything works the way it's supposed to.
2018-05-23 11:19:48 -04:00
Armin Ronacher
be2e12d2d2 Update website 2018-05-22 23:15:08 +02:00