ForwardedHeadersConfig

A configuration for the ForwardedHeaders plugin.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Custom logic to extract the value from the Forward headers when multiple values are present. You need to modify MutableOriginConnectionPoint based on headers from ForwardedHeaderValue.

Link copied to clipboard

Removes known hosts from the end of the list and takes the last value from Forward headers when multiple values are present.

Link copied to clipboard
fun skipLastProxies(proxiesCount: Int)

Takes proxiesCount before the last value from Forward header when multiple values are present.

Link copied to clipboard

Takes the first value from the Forward header when multiple values are present.

Link copied to clipboard

Takes the last value from Forward header when multiple values are present.