Rob Ede
d3c476b8c2
use env_logger builders in examples
2021-01-07 02:41:05 +00:00
Rob Ede
68117543ea
major cleanup of middleware module ( #1875 )
...
* major cleanup of middleware module
* update changelog
2021-01-05 09:51:58 +00:00
Rob Ede
9963a5ef54
expose on_connect v2 ( #1754 )
...
Co-authored-by: Mikail Bagishov <bagishov.mikail@yandex.ru>
2020-10-30 02:03:26 +00:00
Rob Ede
dc74db1f2f
re-export actix_rt::main macro ( #1559 )
2020-06-18 15:45:30 +01:00
Yuki Okushi
6406f56ca2
Fix/suppress warnings
2020-02-08 02:20:01 +09:00
Nikolay Kim
6a0cd2dced
Rename HttpServer::start() to HttpServer::run()
2019-12-22 17:12:22 +04:00
Nikolay Kim
f2b3dc5625
update examples
2019-11-26 17:16:33 +06:00
Nikolay Kim
8683ba8bb0
rename .to_async() to .to()
2019-11-21 21:36:35 +06:00
Nikolay Kim
53c5151692
use response instead of result for asyn c handlers
2019-11-21 16:02:17 +06:00
Nikolay Kim
3127dd4db6
migrate actix-web to std::future
2019-11-21 16:02:17 +06:00
Marat Safin
cb19ebfe0c
add rustls support for actix-http and awc ( #998 )
...
* add rustls support for actix-http and awc
* fix features conflict
* remove unnecessary duplication
* test server with rust-tls
* fix
* test rustls
* awc rustls test
* format
* tests
* fix dependencies
* fixes and add changes
* remove test-server and Cargo.toml dev-dependencies changes
* cargo fmt
2019-07-31 13:02:56 -07:00
Nikolay Kim
fbdda8acb1
Unix domain sockets (HttpServer::bind_uds) #92
2019-07-18 17:24:12 +06:00
Nikolay Kim
5bd5651faa
Allow to use any service as default service
2019-04-13 22:25:00 -07:00
Nikolay Kim
4f30fa9d46
Remove generic type for request payload, always use default
2019-04-13 14:50:54 -07:00
Nikolay Kim
6420a2fe1f
update client example
2019-04-10 20:57:18 -07:00
Nikolay Kim
e254fe4f9c
allow to override response body encoding
2019-03-27 11:29:31 -07:00
Nikolay Kim
50c0ddb3cd
update tests
2019-03-26 12:31:51 -07:00
Nikolay Kim
86a21c956c
rename .middleware to .wrap
2019-03-25 13:02:10 -07:00
Nikolay Kim
939d2e745c
rename Resource::middleware to Resource::wrap and add wrap_fn for fn middlewares
2019-03-25 12:47:58 -07:00
Nikolay Kim
60386f1791
introduce RouteData extractor
2019-03-16 21:09:11 -07:00
lagudomeze
414614e1b5
change marco import ( #727 )
2019-03-15 21:08:39 -07:00
Nikolay Kim
b211966c28
Payload extractor
2019-03-07 13:33:40 -08:00
Nikolay Kim
ceb6d45bf2
reexpost extractors in web module
2019-03-07 11:43:46 -08:00
Nikolay Kim
22708e78a9
added proc-macros for route registration
2019-03-07 11:09:42 -08:00
Nikolay Kim
fe22e83144
refactor service registration process; unify services and resources
2019-03-06 15:47:15 -08:00
Nikolay Kim
6efc3438b8
refactor and enable some tests for staticfiles
2019-03-05 22:10:08 -08:00
Nikolay Kim
2e79562c9d
add HttpServer type
2019-03-04 16:29:03 -08:00
Nikolay Kim
8103d33270
use custom request for FromRequest trait
2019-03-02 19:19:56 -08:00
Nikolay Kim
e6d04d24cc
move fs to separate crate
2019-03-01 23:59:44 -08:00
Nikolay Kim
2d7293aaf8
copy actix-web2
2019-03-01 22:51:32 -08:00
Nikolay Kim
e05aba65de
examples moved to separate repo
2018-04-12 20:31:58 -07:00
Nikolay Kim
26ab5cbd01
forgot to include
2018-04-10 15:14:46 -07:00
Nikolay Kim
50c2a5ceb0
update basic example
2018-04-10 14:45:03 -07:00
Nikolay Kim
ca76dff5a7
update redis example
2018-04-10 13:21:54 -07:00
Nikolay Kim
0b0bbd6bd9
Merge branch 'master' into private-cookies
2018-04-09 12:54:08 -07:00
Nikolay Kim
5617896780
cleanup doc tests
2018-04-09 10:40:12 -07:00
Alex Whitney
9b152acc32
add signed and private cookies
2018-04-09 17:59:28 +01:00
Nikolay Kim
48e7013997
update guide examples
2018-04-09 07:57:50 -07:00
Nikolay Kim
542315ce7f
simplify StaticFiles
2018-04-06 19:34:55 -07:00
Nikolay Kim
191b53bd7c
pin futures 0.1
2018-04-06 13:22:27 -07:00
Nikolay Kim
2c411a04a9
no need for export in doc example
2018-04-06 10:15:06 -07:00
Nikolay Kim
2dafd9c681
do not re-export HttpServer from server module
2018-04-06 08:40:11 -07:00
Nikolay Kim
c1af59c618
update juniper example
2018-04-04 17:57:02 -07:00
Nikolay Kim
c273b7ac3f
update json example
2018-04-04 08:08:31 -07:00
krircc
56a31ea0ee
only use diesel::r2d2 feature. no need r2d2_diesel create
2018-04-03 22:37:53 +08:00
Nikolay Kim
83bf852192
Fix logger request duration calculation
2018-04-02 11:09:24 -07:00
Roman Frołow
220cbe40e5
Add header for juniper example
2018-04-02 19:10:33 +02:00
Nikolay Kim
74d0656d27
update diesel example
2018-04-01 18:24:07 -07:00
Nikolay Kim
17c27ef42d
HttpRequest::resource() returns current matched resource
2018-04-01 17:37:22 -07:00
Nikolay Kim
b2e771df2c
use r2d2 for diesel example
2018-04-01 08:20:15 -07:00