XForwardedHeadersConfig
A configuration for the XForwardedHeaders plugin.
Constructors
Functions
Link copied to clipboard
fun extractEdgeProxy(block: (<ERROR CLASS>, XForwardedHeaderValues) -> Unit)
Content copied to clipboard
Custom logic to extract the value from the X-Forward-* headers when multiple values are present. You need to modify MutableOriginConnectionPoint based on headers from XForwardedHeaderValues.
Link copied to clipboard
Removes known hosts from the end of the list and takes the last value from X-Forward-*
headers when multiple values are present.
Link copied to clipboard
Takes the proxiesCount-before-last value from the X-Forward-*
headers when multiple values are present.
Link copied to clipboard
Takes the first value from the X-Forward-*
headers when multiple values are present.
Link copied to clipboard
Takes the last value from the X-Forward-*
headers when multiple values are present.