Function https_redirector

Source
pub async fn https_redirector<B: Debug + Send + 'static>(
    req: Request<B>,
    config: Redirector,
) -> Result<Response<String>, Error>
Expand description

Redirects an incoming request to the same host and path, but with the https scheme.