pub fn bind_http<F, I, S, B, K, C>(
main: HttpServer<F, I, S, B>,
bind_addr: String,
tls_auth_config: Option<TlsAuthConfig>,
key_file: Option<K>,
cert_bundle_file: Option<C>,
) -> Result<HttpServer<F, I, S, B>>Expand description
Bind HTTP server to HTTP or HTTPS port, using an enabled TLS implementation.