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

151 Commits

Author SHA1 Message Date
Takahiro, NAKAMURA
f6d103da57
update user_session sample (#292) 2022-10-26 11:14:06 +01:00
Raphael C
2bc48c18c8
fix(ex-database): place pool get in web::block (#290) 2022-10-07 18:12:51 +01:00
Ovidiu Gheorghies
779f8ea83e
Change method from GET to POST (#277)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-07-30 18:19:42 +01:00
Kenneth Allen
bb42ca002c
Update information on Compress middleware (#279) 2022-07-19 11:11:45 +01:00
Santiago
8393aea71a
migrate to docusaurus (v2) (#266)
Co-authored-by: ibraheemdev <ibrah1440@gmail.com>
2022-07-16 18:59:20 +09:00
Orhun Parmaksız
f12f950c91
Add full payload test for stream (#272) 2022-06-11 04:33:39 +01:00
Rob Ede
dde397f5f4
improve server docs 2022-04-07 16:52:12 +01:00
Rob Ede
7d988fc27e
improve extractors docs 2022-04-07 16:22:17 +01:00
Rob Ede
0ddb72f6b0
remove references to .data() 2022-04-07 15:55:55 +01:00
Rob Ede
b11a2f6e99
improve path docs 2022-04-07 15:54:55 +01:00
Rob Ede
12cbd2ebbf
s/Actix-web/Actix Web 2022-04-07 15:44:10 +01:00
nikstur
e370fddcc3
Bumped version of actix to 0.13 (#267) 2022-03-20 15:53:36 +00:00
Rob Ede
f504c65862
remove outdated info about force closing connections 2022-03-05 23:54:23 +00:00
Rob Ede
b8431bef6f
update remaining examples to v4 2022-02-26 05:22:21 +00:00
Rob Ede
997fb14e79
fix note about app_data 2022-02-26 04:50:39 +00:00
Rob Ede
81dfe300a2
update examples to v4 (#258) 2022-02-26 03:56:24 +00:00
Daniel Saxton
e3c8b5edca
Update logger example (#250) 2022-01-01 22:05:37 +00:00
Mark Lodato
3167a55853
Improve error handler example (#248) 2021-12-22 18:36:35 +00:00
nikstur
c66502c548
Improve json documentation (#245)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-12-05 14:41:37 +00:00
Nrot
3fffc45c7e
Update to work code (#241) 2021-11-20 23:14:04 +00:00
maxstanley
bcf63b6e83
Fix Diesel Database example (#234) 2021-10-22 18:59:11 +09:00
HeartDev
e503dec23a
Correct the content-type in the ResponseBiuilder example (#236)
It's text/plain not plain/text
2021-08-23 14:43:35 +01:00
Ali MJ Al-Nasrawy
09ad5775ac
Remove invalid docs regarding parsing PathBuf (#230)
This paragraph is no longer valid since v1.0!

Also, the example code still compiles fine and this may easily introduce
a security vulnerability for the user.
2021-06-01 21:04:35 +09:00
Jacky Wu
63d70701e0
fix: correct my_errors log print issue. (#229) 2021-05-10 10:31:54 +01:00
Mark Lodato
1069dfa177
Clarify use of Arc in shared state (#221) 2021-04-06 08:41:26 +09:00
heddi.nabbisen
d148e3e437
Errors: split code lines to make where logger is wrapped clearer (#218) 2021-03-01 02:29:36 +00:00
Rokas Muningis
501d52b485
Include proper import/use example in testing docs, unit test section. (#217) 2021-02-28 19:31:00 +00:00
Rob Ede
4aece987ac
clarify what happens when extractor fails 2021-01-17 16:47:27 +00:00
Rob Ede
cdbb5dd2b2
use Bytes re-export
closes #202
2020-11-27 01:10:05 +00:00
Pirmin Kalberer
c5e185ae85
Fix param name in db example (#191) 2020-09-24 23:53:32 +01:00
Rob Ede
4d8d53cea5
v3 (#188) 2020-09-12 16:21:54 +01:00
John Bradley
a0ce9f28e2
fix function name in shared mutable state example (#186) 2020-09-06 10:45:51 +01:00
Michael Snoyman
d659d04649
Minor wording recommendations (#184)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-09-04 13:19:43 +01:00
vo9312
1c9ccd8078
Update main.rs 2020-07-02 16:45:31 -05:00
Rob Ede
34ae647fd5
fix extraction in app state extract examples
fixes #167
2020-04-06 02:06:15 +01:00
Stig Johan Berggren
0b9a56aa2a
Use RUST_LOG env var if set (#163)
* Use RUST_LOG env var if set

* Remove redundant use statement
2020-03-03 06:53:39 +09:00
Daniel Franklin
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
Rob Ede
85228f23ea
remove unusable create_app example 2020-02-16 21:55:16 +00:00
Yuki Okushi
e9b3985bcf
Suppress some warnings on CI (#143)
* Suppress some warnings on CI

* Remove unused imports
2020-01-23 10:17:13 +09:00
Evgeniy Tatarkin
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
Gerónimo Garcia Sgritta
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
Nikolay Kim
4fffc16668 fix chunked example 2020-01-02 18:41:14 +06:00
Nikolay Kim
b8e2a2310c update extractors 2020-01-02 18:33:33 +06:00
Nikolay Kim
4046b0b697 review handlers section 2020-01-02 13:11:12 +06:00
Nikolay Kim
e30c20016e review server section 2020-01-02 12:56:32 +06:00
Nikolay Kim
e71c712d16 review application section 2020-01-02 12:43:41 +06:00
Nikolay Kim
26c877a519 remove sentry as it does not support actix-web 2.0 2020-01-02 11:44:04 +06:00
Dominic
b04e76e678 Update to actix-web 2.0 (#131) 2019-12-29 22:57:11 +09:00
Yuki Okushi
9f385d384b Update websockets 2019-12-29 04:16:54 +09:00
Yuki Okushi
7a973d6fe9 Update url-dispatch 2019-12-29 04:10:02 +09:00