Configuration

Redirect feature configuration

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The list of call predicates for redirect exclusion. Any call matching any of the predicates will not be redirected by this feature.

Link copied to clipboard

HTTPS host to redirect to

Link copied to clipboard

Use permanent redirect or temporary

Link copied to clipboard

HTTPS port (443 by default) to redirect to

Functions

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

Exclude calls matching the predicate from being redirected to https by this feature.

Link copied to clipboard
fun excludePrefix(pathPrefix: String)

Exclude calls with paths matching the pathPrefix from being redirected to https by this feature.

Link copied to clipboard
fun excludeSuffix(pathSuffix: String)

Exclude calls with paths matching the pathSuffix from being redirected to https by this feature.