Struct scratchstack_http_framework::TlsIncoming
source · pub struct TlsIncoming { /* private fields */ }
Expand description
A wrapper around a TcpListener and a TlsAcceptor that accepts TLS connections for Hyper.
Implementations§
source§impl TlsIncoming
impl TlsIncoming
sourcepub fn new(listener: TcpListener, acceptor: TlsAcceptor) -> TlsIncoming
pub fn new(listener: TcpListener, acceptor: TlsAcceptor) -> TlsIncoming
Create a new TlsIncoming from a TcpListener and a TlsAcceptor.