1
0
mirror of https://github.com/actix/examples synced 2024-12-05 03:01:55 +01:00
Commit Graph

710 Commits

Author SHA1 Message Date
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
Yuki Okushi
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
leizzer
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
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
leizzer
7abc37139c
Merge pull request #163 from actix/remove_python_client
implement client with bash
2019-08-13 13:54:42 -03:00
Cristian Re
b358d66344 replace png file for a real png 2019-08-13 12:10:52 -03:00
Cristian Re
7c34cf235b implement client with bash 2019-08-13 11:29:25 -03:00
Yuki Okushi
02042ae26f
Merge pull request #162 from JohnTitor/ignore-png
Ignore multipart example's png
2019-08-11 09:30:50 +09:00
Yuki Okushi
d27b947836 Ignore example's png 2019-08-11 01:13:02 +09:00
leizzer
51ba48e779
Merge pull request #160 from actix/fix_multipart_example
Fix client.py paths
2019-08-09 21:10:58 -03:00
Cristian Re
ffb1b40dc2 Fix client.py paths 2019-08-09 18:19:18 -03:00
Nikolay Kim
44053504ad reenable uds example; cargo fmt 2019-07-18 18:03:19 +06:00
Harry Gill
7525903fe6 Update to new actix 1.0 api, drop actix-rt (#158) 2019-07-18 17:55:14 +06:00
Darin
258eae3bb9
Merge pull request #157 from Dowwie/master
updated redis-session with comprehensive example and tests
2019-07-12 06:23:20 -04:00
dowwie
858376ecda renamed package 2019-07-11 15:27:17 -04:00
dowwie
99c9e145c1 updated redis-session with comprehensive example and tests 2019-07-11 15:10:09 -04:00
Nikolay Kim
8c019519b9 update redis examples 2019-07-11 15:11:05 +06:00
Nikolay Kim
93275d7986 update chat-broker example and fmt 2019-07-11 15:02:25 +06:00
Guoli Lyu
4aa663e794 feat: update ws client example to actix-web 1.0 (#143) 2019-07-11 14:48:14 +06:00
Arve Seljebu
59df61db6f update users sessions link (#154) 2019-07-11 14:47:41 +06:00
Juan Aguilar
3f286b5b60 Update yarte version to 0.3 (#155) 2019-07-11 14:47:22 +06:00
Arve Seljebu
82786d4461 Full proxy omit content length (#152)
* omit content-length header in http-full-proxy

* cargo fmt
2019-07-01 10:02:51 +06:00
Juan Aguilar
7c747c5006 Bump yarte version to 0.2.1 (#153) 2019-07-01 10:02:14 +06:00
Dany Marcoux
ed24f61cca Add openSUSE instructions for diesel example (#149) 2019-06-28 14:53:08 +06:00
Julian Tescher
58675a683b Do not decompress proxied responses (#151)
If you decompress a proxied response that was encoded, the `content-encoding` header will be passed through but a plaintext body will be returned.
2019-06-28 14:52:12 +06:00
Niels Nielsen
b0d3c652b2 Fix error message for failed connection (#144) 2019-06-22 13:08:45 +06:00
Kai Yao
733eb93a97 Added json_error example. (#146) 2019-06-22 13:08:18 +06:00
Valentin
748d4516eb Avoid double Arc inside template_handlebars (#147) 2019-06-22 13:07:39 +06:00
Nikolay Kim
e7ed6755a5 use cors and identity crates 2019-06-17 12:48:03 +06:00
Nikolay Kim
c8467d1ffd
Merge pull request #141 from pka/diesel-sqlite-fix
Read SQLite path from .env and fix DATABASE_URL
2019-06-16 08:44:13 +06:00
Pirmin Kalberer
a1d799a3f2 Read SQLite path from .env and fix DATABASE_URL 2019-06-12 23:03:20 +02:00
krircc
238e68de65
Update README.md 2019-06-11 17:47:37 +08:00
krircc
65adce90f8
Update README.md 2019-06-11 17:47:04 +08:00
Nikolay Kim
8a547e12ab
Merge pull request #140 from arve0/http-proxy-tls
resolve issue 139
2019-06-11 11:54:23 +06:00
Arve Seljebu
114056bc76 resolve issue 139 2019-06-10 18:06:56 +02:00
Nikolay Kim
7373a5b1ef
Merge pull request #138 from tiniuclx/master
Adds Handlebars example
2019-06-09 11:00:33 +06:00
Alexandru Tiniuc
006b7f3d08 adds Handlebars example
Closes #122
2019-06-08 18:48:20 +01:00
Nikolay Kim
a93d8f41d4
Merge pull request #135 from ctm/insignificant_typos
Fixes trivial typos.
2019-06-08 10:02:52 +06:00