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

115 Commits

Author SHA1 Message Date
Mark Lodato
b7ff0d1ffe
Add bare-bones WS server for autobahn testing (#331) 2020-06-19 20:38:11 +01:00
Yuki Okushi
3730fa8f55
Rename graphql-demo to juniper-advanced 2020-05-19 14:23:28 +09:00
Yuki Okushi
6bfdec78af
Fix workspace compilation 2020-04-30 03:21:47 +09:00
Juan Aguilar Santillana
a65abad80d Update yarte version to 0.8 2020-04-28 21:18:18 +02:00
Yuki Okushi
3f6a81e39b
Merge pull request #293 from actix/fix/chat-broker
websocket chat broker improvements
2020-04-09 17:37:59 +09:00
Rob Ede
a892a062e1
upgrade ws chat broker dependencies 2020-04-09 01:54:28 +01:00
Yuki Okushi
b84e1d9fb4
part3: Update dependencies 2020-04-08 01:18:52 +09:00
Stig Johan Berggren
8f3ce39d05
New example: Return JSON decode errors to a client (#268)
* Add JSON decode error example

* cargo fmt

* Use more appropriate response codes

* curl -i similar for all examples

* Add one more example of 422 response

* use to_string instead of empty format!
2020-03-16 03:21:13 +09:00
Chojan Shang
84b364544b
Add a basic casbin example for actix-web. (#264)
* Add the casbin example for actix-web.

* Update for clear description.
2020-03-03 15:13:43 +09:00
dowwie
54a2c3da92 added awc ssl example 2020-03-01 08:55:00 -05:00
curiousdev
50332ca491 Add docker_sample to examples collection 2020-02-24 15:08:04 -03:00
leizzer
120182f7de
Merge pull request #250 from cheolgyu/master
multipart + s3 example
2020-02-10 18:10:27 -03:00
cheolgyu
08b3621ac5 rename 2020-02-07 09:34:56 +09:00
Elliot Jackson
443b8197ed
Update protobuf to actix-web 2.0.0 (#249)
* Update to actix-web 2.0.0

* Add README.md
2020-02-07 02:17:23 +09:00
cheolgyu
71d1d05118 update readme.md 2020-02-06 10:51:22 +09:00
cheolgyu
5fb3d3270e example 2020-02-05 12:53:33 +09:00
dowwie
da72aef69c enhanced, renamed shutdown example and modified async_pg readme 2020-01-31 07:10:56 -05:00
Rob Ede
16a3c47a2c add self shutdown route example (#240) 2020-01-26 08:49:19 +09:00
torfmaster
469f8b538f Create async-std multipart example (#228) 2020-01-23 10:16:08 +09:00
dowwie
e0c8f4533e added async_pg example 2020-01-15 19:19:15 -05:00
Juan Aguilar
fed19e37b9 Update yarte version to "0.5" (#222) 2020-01-01 02:11:29 +09:00
Nikolay Kim
a0812c9b29 add run-in-thread example 2019-12-25 07:44:33 +04:00
Nikolay Kim
d914b1c694 update dependencies 2019-12-20 22:30:26 +06:00
Nikolay Kim
31b5b7aa49 convert more examples 2019-12-16 13:09:54 +06:00
Nikolay Kim
ca3f11b59e migrate readis and websockets examples 2019-12-16 11:23:36 +06:00
Juan Aguilar
22fd5f3869 Update template yarte (#210) 2019-12-15 23:07:58 +06:00
Nikolay Kim
e166c66f0b migrate websocket-chat example 2019-12-15 22:55:54 +06:00
Nikolay Kim
3127352797 upgrade to 2.0 alpha.3 2019-12-07 23:59:24 +06:00
Nikolay Kim
423f64254a rename graphql demo 2019-12-07 20:21:34 +06:00
Dwi Sulfahnur
1f434406f3 GraphQL Example with Juniper (#181)
* actix-graphql-demo added to examples

* Add actix-graphql-demo to the cargo.toml as a member
2019-12-07 20:16:46 +06:00
Arve Seljebu
d85adb8513 server-sent events (#177)
* server-sent events

* remove stale clients

* ping as message
2019-09-25 10:39:49 +06:00
Anton Patrushev
bbcd4f4c93 Merge branch 'master' into udp-echo
# Conflicts:
#	.travis.yml
#	Cargo.toml
2019-09-17 21:42:44 +02:00
Rotem Yaari
bc7e9f5e6b Remove old http-proxy, use the full version as the official http-proxy example (closes #164) 2019-08-21 18:07:34 +03:00
Nikolay Kim
44053504ad reenable uds example; cargo fmt 2019-07-18 18:03:19 +06:00
Nikolay Kim
93275d7986 update chat-broker example and fmt 2019-07-11 15:02:25 +06:00
Kai Yao
733eb93a97 Added json_error example. (#146) 2019-06-22 13:08:18 +06:00
Alexandru Tiniuc
006b7f3d08 adds Handlebars example
Closes #122
2019-06-08 18:48:20 +01:00
mohanson
8371d77f7c Add jsonrpc example 2019-04-15 10:05:22 +08:00
dowwie
d29f113ffc added async_ex2 2019-04-09 14:12:07 -04:00
Nikolay Kim
273068c362 use jsonwebtoken repo as temp solution to ring dep 2019-03-30 09:33:18 -07:00
Nikolay Kim
9a80911b92 update to alpha2 2019-03-30 09:12:42 -07:00
Juan Aguilar Santillana
7ed8d19b66 Add template yarte 2019-03-12 21:15:53 +01:00
Nikolay Kim
e2945b9b39 update more examples and rustfmt 2019-03-09 18:03:09 -08:00
Anton Patrushev
0d45081fa0 code review fixes 2019-02-22 15:00:58 +05:00
Anton Patrushev
2cd0ea9a2e udp echo server example 2019-02-20 22:21:59 +05:00
Harry Gill
2fc76ac49b simple-auth-server added to examples (#65) 2018-12-09 18:55:36 +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
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
Dan Munckton
60c3ca2050 Add actix-todo example 2018-09-02 10:45:06 +01:00
Darin
a677dc8a92
Merge pull request #37 from Dowwie/master
cache and delete entry
2018-08-12 06:08:02 -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
dowwie
8f62837614 added error_handling example 2018-08-07 12:03:16 -04: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
Gorm Casper
ab7736c790 init 2018-07-09 20:18:31 +02:00
Gorm Casper
8c7a0ab29b create form example 2018-07-04 17:12:33 +02:00
dowwie
0cb217c08a added async_db project 2018-05-26 17:05:12 -04:00
Nikolay Kim
e4f1833215 cleanup and cargo fmt 2018-05-20 21:03:29 -07:00
Nikolay Kim
16f7649b29 split websocket-chat example 2018-05-11 14:35:43 -07:00
Nikolay Kim
bbeb262a5c upgrade actix-web to 0.6 2018-05-08 11:08:43 -07:00
Nikolay Kim
85af2bce54 add cookie session example 2018-05-02 15:11:57 -07:00
Nikolay Kim
cde7ef8c96 add askama example 2018-04-24 09:12:48 -07:00
Nikolay Kim
894a795ee7 add cookie auth example 2018-04-18 16:46:35 -07:00
Nikolay Kim
1dea2cf3c3 add workspace 2018-04-13 12:32:15 -07:00