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

79 Commits

Author SHA1 Message Date
Rob Ede
062a3af80c
delete udp echo example 2022-01-29 16:06:32 +00:00
fakeshadow
414bf927b8
remove example use async_std::fs (#461) 2021-10-22 08:44:40 +01:00
Rishad Baniya
11cd3f2b58
Middleware example - Redirect http connections to https (#457) 2021-10-13 15:06:42 +01:00
Eric
817c7e1150
Working middleware using extensions_mut (#402)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-10-07 04:04:19 +01:00
Isabel Atkinson
cc948594fe
Add MongoDB example (#452)
Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
2021-10-06 22:23:12 +01:00
Daniel T. Rodrigues
7487a81e90
Fix sqlx_todo CI checks (#415) 2021-03-03 23:37:17 +09:00
Daniel T. Rodrigues
c3407627d0
Restructure folders (#411) 2021-02-26 00:57:58 +00:00
Rob Ede
7148fd3d0e
add client certificate example (#380) 2020-10-30 04:22:24 +00:00
Sunli
e5f64562b1
Add async-graphql example (#278) 2020-09-16 01:12:41 +01:00
Hanif Ariffin
adccbe2a13
Add tiny_template as an example. (#358) 2020-09-10 21:34:32 +01:00
Rob Ede
4ada3c9ed1
Merge pull request #333 from fakeshadow/master 2020-06-28 00:05:25 +01:00
fakeshadow
c7660c8f86 fixes according to reviews
Fix typos. Format the comments. Use macro for routes. etc
2020-06-28 06:15:34 +08:00
alvardes
5926035d6c
Update udp-echo example to actix 0.9 and tokio 0.2. (#336) 2020-06-25 05:19:22 +01:00
fakeshadow
1e61a03d5f add example for App::data_factory 2020-06-22 21:16:25 +08:00
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