OverShifted / tls-listener

Rust wrapper around a connection listener to support TLS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tls-listener

Apache 2 License Crate version Docs Build status

This library is intended to automatically initiate a TLS connection as for each new connection in a source of new streams (such as a listening TCP or unix domain socket).

In particular, the TlsListener can be used as the incoming argument to hyper::server::Server::builder (requires one of the hyper-h1 or hyper-h2 features).

See examples for examples of usage.

You must enable either one of the rustls, native-tls, or openssl features depending on which implementation you would like to use.

About

Rust wrapper around a connection listener to support TLS.

License:Apache License 2.0


Languages

Language:Rust 100.0%