3 ms·
Tokio-Proto also makes it easy to compose a protocol stack. In here https://github.com/moosingin3space/hyproxy/blob/master/src/tlsclient.rs https://github.com/m
by moosingin3space 10y ago
Tokio-Proto also makes it easy to compose a protocol stack. In here https://github.com/moosingin3space/hyproxy/blob/master/src/tlsclient.rs https://github.com/moosingin3space/hyproxy/blob/master/src/t..., which is a TLS client implementation for my Tokio-based reverse proxy, the Service implementation is incredibly easy; simply compose the Hyper `HttpConnector` inside the native-tls/tokio-tls `TlsConnector` in a `Service::call` implementation.
- steveklabnik 10y agoYeah, this is totally true. It's the part I'm least personally familiar with.