1
0
mirror of https://github.com/actix/examples synced 2024-12-23 10:18:21 +01:00
Commit Graph

1458 Commits

Author SHA1 Message Date
kamnxt
69e4a44a4e Fix logging in basics example (#221) 2019-12-26 21:39:57 +04:00
Yuki Okushi
81cc44dd99
Fix directory names on READMEs (#220) 2019-12-26 19:37:34 +09:00
Stephan Buys
d88d5fb2bc Add the actix-raft project to the community references (#219)
* Update README.md

Add a reference to the actix-raft project.

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2019-12-26 19:22:50 +09:00
Nikolay Kim
e8ab9ee7ca update deps 2019-12-25 20:48:33 +04:00
Nikolay Kim
a0812c9b29 add run-in-thread example 2019-12-25 07:44:33 +04:00
yurybikuzin
01b0d5fb21 Fix typo on websocket/README.md (#217) 2019-12-23 04:08:49 +09:00
Yuki Okushi
e2f17fc21e
Fix form example's test (#216)
* Update method name

* Fix typo
2019-12-23 03:51:33 +09:00
Nikolay Kim
d914b1c694 update dependencies 2019-12-20 22:30:26 +06:00
Yuki Okushi
7b35cd32c7
Update tera to 1.0 (#212) 2019-12-19 03:25:56 +09:00
Zoo Sky
b12b006c03 Add some docs and curl example (#211) 2019-12-18 08:25:06 +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
22c7d747c2 update deps 2019-12-15 23:07:17 +06:00
Nikolay Kim
e166c66f0b migrate websocket-chat example 2019-12-15 22:55:54 +06:00
Yuki Okushi
5ffbaacdce
Fix examples of diesel and json (#207) 2019-12-11 11:33:12 +09:00
Nikolay Kim
998f92d2e3 fix multipart example 2019-12-09 06:28:09 +06:00
Nikolay Kim
9ef1107c0c fix juniper example 2019-12-08 00:03:53 +06:00
Nikolay Kim
cbd9c4ee01 Merge branch 'master' of github.com:actix/examples 2019-12-07 23:59:47 +06:00
Jens Krause
7e37bef4a1 Update Juniper example (#197) 2019-12-07 23:59:35 +06:00
Nikolay Kim
3127352797 upgrade to 2.0 alpha.3 2019-12-07 23:59:24 +06:00
Nikolay Kim
e7f7175b7b Merge branch 'master' of github.com:actix/examples 2019-12-07 22:59:05 +06:00
Bevan Hunt
3552b29359 Update Multipart example (#196)
* add async/await multipart example

* fix

* replace multipart

* make PR feedback changes

* remove port & heroku & update readme

* update cargo.toml to be correct

* update to alpha 3
2019-12-07 20:40:31 +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
Darin
7be109ee61
Merge pull request #193 from actix/revert-191-1.0
Revert "started 1.0 branch for async-await port"
2019-11-26 15:57:25 -05:00
Darin
58fdf5032c
Revert "started 1.0 branch for async-await port" 2019-11-26 15:48:28 -05:00
Darin
0047492822
Merge pull request #191 from Dowwie/1.0
started 1.0 branch for async-await port
2019-11-21 19:22:48 -05:00
dowwie
fec39b1643 started 1.0 branch for async-await port 2019-11-21 19:21:08 -05:00
Juan Aguilar
663f8a64a8 Update template_yarte (#190) 2019-11-19 18:56:19 +09:00
Sven-Hendrik Haase
dc6e1cc762
Merge pull request #186 from actix/proxy-whole-body
Always send body whole and don't use transfer encoding
2019-11-15 20:27:03 +01:00
Sven-Hendrik Haase
7ff7accd79 Don't stream body but wait for it to complete and only send it then 2019-11-15 19:47:18 +01:00
Yuki Okushi
9e49f7a4e3
Update user guide link (#189) 2019-11-15 05:16:48 +09:00
Tommaso Allevi
4e8f8d0b93 Add tests in examples (#185)
* Add test in json example

* Add test in hello world example

* Remove extern crate
2019-11-14 02:20:24 +09:00
krircc
9e28d2ec8b
add the source code url, kriry.com base on waler 2019-10-28 12:21:16 +08:00
krircc
656dc63beb
change url and fix typo 2019-10-22 10:30:05 +08:00
Sven-Hendrik Haase
fb5779fe8f Always send body whole and don't use transfer encoding
Without doing this, body size would be unknown at the time of sending, causing awc to use transfer encoding which is probably unexpected in most cases.
This change makes behavior more obvious.
2019-10-09 00:56:55 +02:00
Sven-Hendrik Haase
06e7f96c8a
Merge pull request #179 from pfrenssen/form-tests
Provide tests for the form example
2019-10-08 19:46:46 +02:00
Yuki Okushi
f9e7493be5
Update dependencies (#182) 2019-10-06 04:44:45 +09:00
Pieter Frenssen
5f296d3d50 Provide tests for the form example. 2019-09-29 18:51:16 +03:00
Sven-Hendrik Haase
ea35dcbc74
Merge pull request #180 from pfrenssen/template_yarte-test-failure
Several tests are failing
2019-09-29 17:28:10 +02:00
Pieter Frenssen
60bd816ed7 Fix tests for the template_yarte example. 2019-09-29 18:03:03 +03:00
Pieter Frenssen
98cac8668c Run all tests regardless of prior failures. 2019-09-29 18:02:38 +03:00
Pieter Frenssen
06c826e772 Enable Redis in the test environment. 2019-09-29 17:28:00 +03:00
Pieter Frenssen
ec5dfce0b1 Run tests on Travis CI. 2019-09-29 17:00:58 +03: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
Sven-Hendrik Haase
eaccae46c6
Merge pull request #176 from actix/add-response-body-read-middleware
Add middleware to log the response body
2019-09-19 01:23:13 +02:00
Sven-Hendrik Haase
b2f4f90454 Use a Stream wrapper instead for async bodies 2019-09-18 06:16:47 +02:00
Sven-Hendrik Haase
56859e14d2 Add middleware to log the response body 2019-09-18 04:37:35 +02:00
Sven-Hendrik Haase
fb6d5254bf
Merge pull request #79 from apatrushev/udp-echo
Add udp echo server example
2019-09-18 02:17:33 +02:00