pub async fn https_on<F, Fut>(
https_addr: SocketAddr,
http_addr: SocketAddr,
domain_names: &[String],
service: F,
) -> Result<()>where
F: Fn(HttpsRequest) -> Fut + Clone + Send + Sync + 'static,
Fut: Future<Output = HttpsResponse> + Send + 'static,Expand description
Bind explicit HTTPS and HTTP addresses and run the framework-neutral serving loops.