HttpsRedirectConfig

A configuration for the HttpsRedirect plugin.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Allows you to disable redirection for calls matching specified conditions.

Link copied to clipboard

Specifies whether to use permanent or temporary redirect.

Link copied to clipboard

Specifies an HTTPS port (443 by default) used to redirect HTTP requests.

Functions

Link copied to clipboard
fun exclude(predicate: (call: ApplicationCall) -> Boolean)

Allows you to disable redirection for calls matching the specified predicate.

Link copied to clipboard
fun excludePrefix(pathPrefix: String)

Allows you to disable redirection for calls with a path matching pathPrefix.

Link copied to clipboard
fun excludeSuffix(pathSuffix: String)

Allows you to disable redirection for calls with a path matching pathSuffix.