1
0
mirror of https://github.com/actix/examples synced 2025-06-28 09:50:36 +02:00
Commit Graph

336 Commits

Author SHA1 Message Date
7e37bef4a1 Update Juniper example (#197) 2019-12-07 23:59:35 +06:00
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
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
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
58fdf5032c Revert "started 1.0 branch for async-await port" 2019-11-26 15:48:28 -05:00
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
fec39b1643 started 1.0 branch for async-await port 2019-11-21 19:21:08 -05:00
663f8a64a8 Update template_yarte (#190) 2019-11-19 18:56:19 +09:00
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
7ff7accd79 Don't stream body but wait for it to complete and only send it then 2019-11-15 19:47:18 +01:00
9e49f7a4e3 Update user guide link (#189) 2019-11-15 05:16:48 +09:00
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
9e28d2ec8b add the source code url, kriry.com base on waler 2019-10-28 12:21:16 +08:00
656dc63beb change url and fix typo 2019-10-22 10:30:05 +08:00
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
06e7f96c8a Merge pull request #179 from pfrenssen/form-tests
Provide tests for the form example
2019-10-08 19:46:46 +02:00
f9e7493be5 Update dependencies (#182) 2019-10-06 04:44:45 +09:00
5f296d3d50 Provide tests for the form example. 2019-09-29 18:51:16 +03:00
ea35dcbc74 Merge pull request #180 from pfrenssen/template_yarte-test-failure
Several tests are failing
2019-09-29 17:28:10 +02:00
60bd816ed7 Fix tests for the template_yarte example. 2019-09-29 18:03:03 +03:00
98cac8668c Run all tests regardless of prior failures. 2019-09-29 18:02:38 +03:00
06c826e772 Enable Redis in the test environment. 2019-09-29 17:28:00 +03:00
ec5dfce0b1 Run tests on Travis CI. 2019-09-29 17:00:58 +03:00
d85adb8513 server-sent events (#177)
* server-sent events

* remove stale clients

* ping as message
2019-09-25 10:39:49 +06:00
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
b2f4f90454 Use a Stream wrapper instead for async bodies 2019-09-18 06:16:47 +02:00
56859e14d2 Add middleware to log the response body 2019-09-18 04:37:35 +02:00
fb6d5254bf Merge pull request #79 from apatrushev/udp-echo
Add udp echo server example
2019-09-18 02:17:33 +02:00
bbcd4f4c93 Merge branch 'master' into udp-echo
# Conflicts:
#	.travis.yml
#	Cargo.toml
2019-09-17 21:42:44 +02:00
d9ca7cb055 Make cookie-session example clarify (#175) 2019-09-14 19:37:39 +09:00
2b4e360adc Update actix-session to 0.2.0 (#174) 2019-09-14 18:01:05 +09:00
77dd2cc4e3 Fix favicon link (#172) 2019-09-13 17:15:26 +09:00
45d56e1f7a Merge pull request #171 from actix/document-middlewares
Document middlewares
2019-09-11 20:32:21 +02:00
d0fed9f078 Add better README for middleware example 2019-09-11 19:37:17 +02:00
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
f026cb7041 Merge pull request #169 from actix/wrap_fn-example
Add middleware example with wrap_fn
2019-09-11 16:34:27 +02:00
0f692a3bfb Add middleware example for reading the Request body 2019-09-11 16:32:08 +02:00
948054f1e4 Add middleware example with wrap_fn 2019-09-11 14:06:43 +02:00
f232b6c684 Fix clippy warnings (#168) 2019-09-05 00:04:57 +09:00
bb639d5fe3 Prevent jobs from being terminated on Travis (#167)
* Prevent jobs from being terminated

* Fix installing clippy

* Fix command

* Run Clippy on nightly
2019-09-02 18:20:15 +09:00
6272b56699 Merge pull request #165 from actix/vmalloc/remove-old-proxy
Remove old http-proxy, use the full version as the official http-proxy example
2019-08-21 14:08:55 -03:00
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
7abc37139c Merge pull request #163 from actix/remove_python_client
implement client with bash
2019-08-13 13:54:42 -03:00
b358d66344 replace png file for a real png 2019-08-13 12:10:52 -03:00
7c34cf235b implement client with bash 2019-08-13 11:29:25 -03:00
02042ae26f Merge pull request #162 from JohnTitor/ignore-png
Ignore multipart example's png
2019-08-11 09:30:50 +09:00
d27b947836 Ignore example's png 2019-08-11 01:13:02 +09:00
51ba48e779 Merge pull request #160 from actix/fix_multipart_example
Fix client.py paths
2019-08-09 21:10:58 -03:00
ffb1b40dc2 Fix client.py paths 2019-08-09 18:19:18 -03:00
44053504ad reenable uds example; cargo fmt 2019-07-18 18:03:19 +06:00