hotaru_tls 0.8.2

TLS transport for the Hotaru framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Flexible TCP/TLS types — runtime-determined transport.
//!
//! Use these when the connection type (plain TCP vs TLS) is decided at runtime,
//! e.g. based on a URL scheme or configuration flag. For compile-time static
//! TLS, use the `tls/` module instead.

pub mod builder;
pub mod stream;

pub use builder::{Authentication, ConnectionBuilder, Protocol};
pub use stream::{FlexMeta, TcpOrTlsStream, TcpReader, TcpWriter, split_connection};