b43bbd2b51
Fix logic bug in streaming request example
...
Previously the example printed "Chunk: {}" once after the entire
response was received, but the accompanying text read "we read and print
the request payload chunk by chunk".
The example now prints every chunk as it was received.
2020-03-01 15:26:05 -05:00
85228f23ea
remove unusable create_app example
2020-02-16 21:55:16 +00:00
e9b3985bcf
Suppress some warnings on CI ( #143 )
...
* Suppress some warnings on CI
* Remove unused imports
2020-01-23 10:17:13 +09:00
bc4e0422c8
update testing to actix-web 2.0.0 and improve stream testing code ( #141 )
...
* update testing to actix-web 2.0.0 and improve stream testing code
2020-01-22 06:40:37 +09:00
f30016e112
Fix DB article code examples ( #140 )
...
This change fixes issue #139 and renders the code example
2020-01-04 20:04:35 +09:00
4fffc16668
fix chunked example
2020-01-02 18:41:14 +06:00
b8e2a2310c
update extractors
2020-01-02 18:33:33 +06:00
4046b0b697
review handlers section
2020-01-02 13:11:12 +06:00
e30c20016e
review server section
2020-01-02 12:56:32 +06:00
e71c712d16
review application section
2020-01-02 12:43:41 +06:00
26c877a519
remove sentry as it does not support actix-web 2.0
2020-01-02 11:44:04 +06:00
b04e76e678
Update to actix-web 2.0 ( #131 )
2019-12-29 22:57:11 +09:00
9f385d384b
Update websockets
2019-12-29 04:16:54 +09:00
7a973d6fe9
Update url-dispatch
2019-12-29 04:10:02 +09:00
1d6ccff3e8
Update static-files
2019-12-29 03:36:24 +09:00
e21219c1da
Update server
2019-12-29 03:32:56 +09:00
a255f4aea6
Update response
2019-12-29 02:59:48 +09:00
2cd3428c8e
Update responder-trait
2019-12-29 02:47:27 +09:00
4f2f930349
Update requests
2019-12-29 02:32:47 +09:00
b0e8a8d51d
Update request-routing
2019-12-29 02:09:52 +09:00
cc2a7a0645
Update request-handlers
2019-12-29 02:08:25 +09:00
8594212533
Update powerful-extractors
2019-12-29 02:05:27 +09:00
789cb0fd1a
Update middleware
2019-12-29 02:03:17 +09:00
94c8c843b1
Update main-example
2019-12-29 01:38:51 +09:00
9da187a36c
Update http2
2019-12-29 01:37:19 +09:00
e018ce4278
Update getting-started
2019-12-29 01:33:19 +09:00
37bd5e5da2
Update flexible-responders
2019-12-29 01:32:43 +09:00
de7c7d3aed
Remove unnecessary dependency
2019-12-29 01:29:03 +09:00
66c3bd8729
Update easu-form-handling example
2019-12-29 01:24:52 +09:00
1e5f5ecf8b
Update autoreload example to v2
2019-12-29 01:21:10 +09:00
67c0360864
Update application examples to v2
2019-12-29 01:15:22 +09:00
20517d415d
Update examples/{extractors, errors} to futures 0.3 and actix-web 2.0 ( #130 )
...
* Update to futures 0.3
* update examples/errors to actix-web 2.0
2019-12-29 00:26:17 +09:00
e4eb883a0d
fix minor typo in output of extractors example ( #114 )
...
this has no effect on the actual functionality, it just fixes a typo
which was hard to overlook :)
2019-09-30 03:35:26 +09:00
f43a46b58e
Make sure app_mutable example works out of box ( #112 )
...
The page which refers make_app_mutable section: https://actix.rs/docs/application/
Although the original example compiled, I found it a bit incomplete as it didn't really start the server. As a beginner, I first tried to reuse original `main()` example and ran into lifetime issue with counter instance. Took me a bit to figure "ahha sure, I need to move it in."
2019-09-25 10:37:36 +06:00
04bca7bf82
Fix PR comments
2019-08-06 01:30:50 +02:00
553fe281fc
Document actix-web-codegen
...
This fixes #105
2019-08-05 18:32:00 +02:00
a03b91023c
Merge pull request #103 from svenstaro/add-dyn-to-traits
...
Add dyn keyword to get rid of some warnings
2019-07-30 19:08:48 +02:00
a7c8116fcd
Add bit about wrap_fn to middlewares page ( #104 )
2019-07-30 10:03:55 -07:00
0ff37e7454
Add dyn keyword to get rid of some warnings
2019-07-29 12:44:00 +02:00
b0ce2c21a2
fix state example
2019-07-22 11:10:21 +06:00
77b86e778f
Fix examples
2019-07-18 20:59:11 +07:00
31630f61f8
Minor tweaks
2019-07-15 17:12:37 +07:00
4521375534
Update App State documentation
2019-07-15 16:46:12 +07:00
6f95771c34
Adds logging example to errors chapter.
2019-06-28 14:50:15 -04:00
eb58a8692c
Makes clippy happy.
2019-06-28 14:22:51 -04:00
5133ab874d
Final fixes before requesting review.
2019-06-28 13:31:30 -04:00
cbf046b1f0
updates flexible responders.
2019-06-28 12:10:30 -04:00
4833874c5d
Moves everything into the cargo workspace.
2019-06-26 19:18:43 -04:00
0601997b41
Updates Compression section.
2019-06-26 14:15:03 -04:00
387807ee6e
Websockets chapter done-ish.
2019-06-26 12:55:12 -04:00