1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-24 00:01:11 +01:00
Commit Graph

1300 Commits

Author SHA1 Message Date
Nikolay Kim
9456065d7b better error conversion impl for and_then 2018-09-04 12:07:13 -07:00
Nikolay Kim
41eddae266 move into fn service impl 2018-09-04 09:57:47 -07:00
Nikolay Kim
0390ff37d3 Revert "use From/Into instead of custom IntoService and IntoNewService traits"
This reverts commit 9441624827.
2018-09-04 09:49:21 -07:00
Nikolay Kim
dfa08b3bf1 remove uneeded map_request 2018-09-04 09:32:37 -07:00
Nikolay Kim
9441624827 use From/Into instead of custom IntoService and IntoNewService traits 2018-09-04 09:30:52 -07:00
Nikolay Kim
42a49da199 add StreamDispatcher 2018-09-01 10:29:56 -07:00
Nikolay Kim
27af05de9a simplify Apply combinator 2018-08-31 12:51:26 -07:00
Nikolay Kim
c2d73873cc rename Apply combinator 2018-08-30 17:54:59 -07:00
Nikolay Kim
7ff24863ab add apply() combinator 2018-08-30 17:46:11 -07:00
Nikolay Kim
fbd17e43f3 fix ApplyService constraint 2018-08-30 15:12:01 -07:00
Nikolay Kim
eaa9d4b273 allow to change Connector's request type 2018-08-30 10:06:47 -07:00
Nikolay Kim
061a0339ff convert to new service 2018-08-30 09:38:09 -07:00
Nikolay Kim
a928d82895 rename Apply service 2018-08-30 09:26:27 -07:00
Nikolay Kim
e0513e4085 replace partial with more generic Apply 2018-08-30 09:17:17 -07:00
Nikolay Kim
42b0d53c16 change AndThen InitError constrain 2018-08-29 21:31:43 -07:00
Nikolay Kim
9b48e952b8 add map_request combinator 2018-08-29 20:20:33 -07:00
Nikolay Kim
77cf7016b7 add partial combinator 2018-08-29 20:19:30 -07:00
Nikolay Kim
918c764641 use String as default type for Connector 2018-08-29 15:28:16 -07:00
Nikolay Kim
361ffd8d2f refactor Connector service 2018-08-29 15:15:24 -07:00
Nikolay Kim
7ec92f7b1c export ServiceExt trait 2018-08-29 12:26:27 -07:00
Nikolay Kim
eeb4f8c61c add Service combinators 2018-08-29 12:20:35 -07:00
Nikolay Kim
6f607e79db export configurable mod 2018-08-28 22:28:13 -07:00
Nikolay Kim
cb1ea341c3 make new public 2018-08-28 20:32:01 -07:00
Nikolay Kim
f689f6500a export more service types 2018-08-28 20:29:56 -07:00
Nikolay Kim
10d2c67596 better Connector impl 2018-08-28 16:24:36 -07:00
Nikolay Kim
6ec5e958ac add .map service combinator 2018-08-28 10:39:27 -07:00
Nikolay Kim
71d725d250 add Connector helper method 2018-08-27 21:53:20 -07:00
Nikolay Kim
f9b9031af2 add clone impls 2018-08-27 20:32:49 -07:00
Nikolay Kim
ddfe1322a1 use same Request for OpensslConnector service as for connector 2018-08-27 14:29:01 -07:00
Nikolay Kim
c69d675113 Connector::Response returns addr and tcp stream 2018-08-27 14:20:41 -07:00
Nikolay Kim
3dbaef3ec1 move config to generic type 2018-08-25 14:46:05 -07:00
Nikolay Kim
89b8da724b split service mod 2018-08-25 09:02:14 -07:00
Nikolay Kim
0eae4d84b1 fix and and then new service 2018-08-24 13:18:05 -07:00
Nikolay Kim
f2ef824011 add NewConfigurableService trait 2018-08-23 22:12:10 -07:00
Nikolay Kim
aba9b09450 export ConnectorError 2018-08-23 20:52:31 -07:00
Nikolay Kim
234c76f8bc add connector 2018-08-23 20:47:41 -07:00
Nikolay Kim
a5a026b5c4 remove custom NewService and cleanups 2018-08-23 15:42:34 -07:00
Nikolay Kim
1261ecbce0 fix examples 2018-08-23 13:39:13 -07:00
Nikolay Kim
d97f78afbe use factory function instead of NewService for service registration 2018-08-23 13:16:14 -07:00
Nikolay Kim
2818540d69 fix error mapping in MapErrNewService 2018-08-22 18:18:11 -07:00
Nikolay Kim
c7543e7228 add Server::configure helper 2018-08-22 11:36:56 -07:00
Nikolay Kim
26f472649a default impl for fork method 2018-08-22 11:12:06 -07:00
Nikolay Kim
29490e6c13 cleanups 2018-08-21 21:11:16 -07:00
Nikolay Kim
0f8cd0f44d better FnNewService definition 2018-08-21 20:42:43 -07:00
Nikolay Kim
b8c8dbc90a add new service configuration 2018-08-21 17:08:23 -07:00
Nikolay Kim
2cbcc21168 fix worker shutdown 2018-08-20 22:21:23 -07:00
Nikolay Kim
ac70f06c4f add basic example 2018-08-20 21:34:47 -07:00
Nikolay Kim
36ed2307ce add .map_init_err() new service combinator 2018-08-20 20:48:42 -07:00
Nikolay Kim
8faf373a99 add .map_err() service combinator 2018-08-20 20:41:40 -07:00
Nikolay Kim
1a496f4fda initial import 2018-08-19 10:47:04 -07:00