install
open override fun install(pipeline: ApplicationCallPipeline, configure: HerokuHttpsRedirect.Configuration.() -> Unit): HerokuHttpsRedirect
Installs the HerokuHttpsRedirect plugin into the Ktor pipeline.
Return
the configured HerokuHttpsRedirect instance
Parameters
pipeline
the application call pipeline to intercept
configure
a configuration block for Configuration
Throws
if the configured host is not an ASCII host name, an IPv4 address or a bracketed IPv6 literal, optionally followed by a :port from 1 to 65535, or if an allowedHosts entry is not an ASCII host name, an IPv4 address or a bracketed IPv6 literal