1
0
mirror of https://github.com/actix/examples synced 2024-11-24 23:02:59 +01:00
Commit Graph

1047 Commits

Author SHA1 Message Date
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
Anton Patrushev
bbcd4f4c93 Merge branch 'master' into udp-echo
# Conflicts:
#	.travis.yml
#	Cargo.toml
2019-09-17 21:42:44 +02:00
Yuki Okushi
d9ca7cb055
Make cookie-session example clarify (#175) 2019-09-14 19:37:39 +09:00
Yuki Okushi
2b4e360adc
Update actix-session to 0.2.0 (#174) 2019-09-14 18:01:05 +09:00
Yuki Okushi
77dd2cc4e3
Fix favicon link (#172) 2019-09-13 17:15:26 +09:00
Sven-Hendrik Haase
45d56e1f7a
Merge pull request #171 from actix/document-middlewares
Document middlewares
2019-09-11 20:32:21 +02:00
Sven-Hendrik Haase
d0fed9f078 Add better README for middleware example 2019-09-11 19:37:17 +02:00
Sven-Hendrik Haase
1af4710c01
Merge pull request #170 from actix/read_body-example
Add middleware example for reading the Request body
2019-09-11 19:34:21 +02:00
Sven-Hendrik Haase
f026cb7041
Merge pull request #169 from actix/wrap_fn-example
Add middleware example with wrap_fn
2019-09-11 16:34:27 +02:00
Sven-Hendrik Haase
0f692a3bfb Add middleware example for reading the Request body 2019-09-11 16:32:08 +02:00
Sven-Hendrik Haase
948054f1e4 Add middleware example with wrap_fn 2019-09-11 14:06:43 +02:00
Yuki Okushi
f232b6c684
Fix clippy warnings (#168) 2019-09-05 00:04:57 +09:00