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

147 Commits

Author SHA1 Message Date
Rotem Yaari
5871328be2 Fix proxy to handle both chunked and non-chunked responses (#59) 2018-11-17 21:27:29 +03:00
Philip Jenvey
8a81a3bb58 remove unneeded RefCells (#62) 2018-11-17 08:04:24 +03:00
Rotem Yaari
e30915d98d Add example of a full HTTP proxy, proxying body, header and method (#58) 2018-11-04 12:20:57 +03:00
Douman
61a4b3b23b Improve shared state example 2018-10-27 14:03:02 +03:00
Douman
9c3576932f Enable travis cargo cache back 2018-10-14 21:16:17 +03:00
Jan Niehusmann
c6f092fc80 Encapsulate app state in Arc<Mutex<...>> (#54) 2018-10-14 20:56:25 +03:00
Jan Niehusmann
0a2a356e7a replace deprecated feature "alpn" with "ssl" (#56)
In actix-web's Cargo.toml, feature "alpn" is marked as deprecated,
with the suggestion to use "ssl", instead.
2018-10-14 20:30:59 +03:00
Jan Niehusmann
30623edfe1 fix rustls example with updated rustls in actix-web (#55) 2018-10-14 20:30:18 +03:00
Douman
98d060184f Disable cargo caching to update actix-web version? 2018-10-14 20:19:21 +03:00
krircc
82a107452b
Update README.md 2018-10-09 00:50:23 +08:00
krircc
d6051d931c
Update README.md 2018-10-01 09:59:21 +08:00
krircc
1d5c343e17
Update README.md 2018-10-01 09:42:07 +08:00
EasyToFindName
024e21439e Fix favicon's href (#51)
* Fix favicon's href

* Remove wrong index.html
2018-09-30 23:14:57 +03:00
Daniel Kavanagh
62a0101c07 Fix pinging so client doesn't get dropped automatically after 10 seconds (#52) 2018-09-30 23:09:00 +03:00
Douman
d8412fb9bb Do not use master branch of actix-web 2018-09-28 18:20:09 +03:00
Madao
3c5d53416b make the code neater (#49) 2018-09-28 08:35:13 +03:00
sapir
87f89b54f0 Implement websocket heartbeats (#48) 2018-09-27 22:37:19 +03:00
sapir
d9afae21b6 Fix "websocket" example's readme, and make binary names unique (#45)
Give each example binary a unique name.

This should allow running cargo run --bin in the root directory.
2018-09-24 11:57:36 +03:00
Christopher Ricketts
8edf86e4b8 WebSocket Chat example using actix-broker (#44)
WebSocket Chat Example rewrite with actix-broker
2018-09-18 13:19:45 +03:00
Douman
6b68cfc529
Merge pull request #39 from munckymagik/actix-todo
actix-todo example
2018-09-05 13:04:39 +03:00
Douman
5e2ef3723e
Add comment 2018-09-05 12:46:55 +03:00
Dan Munckton
60c3ca2050 Add actix-todo example 2018-09-02 10:45:06 +01:00
Douman
d653fe4822
Merge pull request #42 from botika/master
fix missing websocket heartbeat and python client in websocket-tcp-chat
2018-08-28 16:03:12 +03:00
bott
86c89dabcb fix minor issues 2018-08-28 14:11:58 +02:00
bott
5d3c5056ed fix unawait asyncio coroutines; refactor decorator/yield from in favor of await/async 2018-08-28 13:56:51 +02:00
bott
b1e5cef4b5 improve heartbeat with run_interval 2018-08-28 10:59:08 +02:00
bott
fb32a7d600 fix python websocket client no await 2018-08-28 10:38:45 +02:00
bott
58d3e5f8c5 fix missing heartbeat 2018-08-28 09:53:51 +02:00
Douman
13834d8076
Merge pull request #40 from munckymagik/fix_json_build
Fix json example Travis build failure
2018-08-28 07:56:36 +03:00
Dan Munckton
8bf305f04c Fix json example Travis build failure 2018-08-27 21:04:13 +01:00
Darin
a677dc8a92
Merge pull request #37 from Dowwie/master
cache and delete entry
2018-08-12 06:08:02 -04:00
dowwie
aff38dc15b added delete operations 2018-08-11 09:59:07 -04:00
dowwie
7ccde8c2d3 added actix_redis example 2018-08-11 06:58:29 -04:00
Nikolay Kim
ca32d68769 rustls example 2018-08-07 22:34:16 -07:00
Darin
bcdd1f9fc3
Merge pull request #35 from Dowwie/master
added error_handling example
2018-08-07 13:33:30 -04:00
dowwie
026ff64cf3 updated travis.yml 2018-08-07 13:07:52 -04:00
dowwie
8f62837614 added error_handling example 2018-08-07 12:03:16 -04:00
Nikolay Kim
7262de4917
Merge pull request #33 from RazrFalcon/master
Minor fixes
2018-08-03 08:26:55 -07:00
Nikolay Kim
66cbf644b9 update deps 2018-08-02 11:50:41 -07:00
Nikolay Kim
ba3cf13c72 add ssl feature 2018-08-02 09:30:06 -07:00
RazrFalcon
ece139ffbe Use shebang in all python scripts. 2018-07-29 17:36:43 +03:00
RazrFalcon
c7a29b00c9 Minor fixes. 2018-07-29 17:34:43 +03:00
Nikolay Kim
cfb980642b
Merge pull request #31 from sadika9/split-auth-example
Split auth example
2018-07-23 03:14:11 -07:00
Sadika Sumanapala
7156e1cbf0 Rename example 'complex-middleware' to 'cookie-auth-full' 2018-07-23 15:29:32 +05:30
Sadika Sumanapala
1e7402e2bb Complex middleware example 2018-07-21 20:07:58 +05:30
Sadika Sumanapala
6784ebbb4a Use built-in middleware 2018-07-21 20:04:58 +05:30
Nikolay Kim
5499c01c65 upgrade redis example 2018-07-21 07:00:04 -07:00
Nikolay Kim
271749c433 update actix-web dependency 2018-07-21 05:10:26 -07:00
krircc
b4901a9476
Update README.md 2018-07-21 10:01:01 +08:00
Nikolay Kim
3a3f08d533 fix missing feature 2018-07-20 13:55:01 -07:00