pub async fn serve_adaptive_https<S, B>(
addr: SocketAddr,
service: S,
tls_config: Arc<ServerConfig>,
) -> Result<()>Expand description
Serve HTTP and HTTPS on the same port
pub async fn serve_adaptive_https<S, B>(
addr: SocketAddr,
service: S,
tls_config: Arc<ServerConfig>,
) -> Result<()>Serve HTTP and HTTPS on the same port