Rocket/core/http
Jeb Rosen 523c6099fb Replace use of 'hyper::AddrIncoming' with a Listener API and implement TLS.
Types can now implement the new 'Listener' trait, which means they can
report the address they are listening on and asynchronously accept
connections. 'Connection's are read/write streams that can additionally
report the remote address.

Listener is implemented for 'tokio_net::tcp::TcpListener' and for
the new 'rocket_http::tls::TlsListener' based on 'tokio-rustls'.

The new private function 'Rocket::listen_on()' now does the main setup
for launch and is generic over a Listener. In the future, a more refined
version of the API can be exposed so that applications can implement
their own listeners.
2020-07-11 09:24:28 -07:00
..
src Replace use of 'hyper::AddrIncoming' with a Listener API and implement TLS. 2020-07-11 09:24:28 -07:00
Cargo.toml Replace use of 'hyper::AddrIncoming' with a Listener API and implement TLS. 2020-07-11 09:24:28 -07:00