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
Nikolay Kim
3ee228005d
rename Application
2018-03-31 00:16:55 -07:00
Nikolay Kim
7a743fa6b5
update examples
2018-03-30 23:37:15 -07:00
Nikolay Kim
44e3df82f6
simplify http response construction; deprecate httpcodes
2018-03-30 23:07:33 -07:00
Nikolay Kim
8d8f6bedad
update examples
2018-03-30 18:54:38 -07:00
Nikolay Kim
4358da9926
refactor WithHandler trait
2018-03-27 20:33:24 -07:00
Nikolay Kim
dcc5eb7ace
pass request as value
2018-03-26 23:34:31 -07:00
Nikolay Kim
2f60a4b89d
add handler with exatractor
2018-03-26 23:10:31 -07:00
Alexander Andreev
2d80c5053d
spelling check
2018-03-24 09:35:52 +03:00
Nikolay Kim
6b1a79fab8
update example
2018-03-18 16:27:34 -07:00