EnvironmentClientIpResolutionConfigHeaderIndexAlgorithm class
Constructors
-
Creates a new EnvironmentClientIpResolutionConfigHeaderIndexAlgorithm.
ipHeaderIndex The index of the ip in the header. Positive indices 0, 1, 2, 3 chooses indices from the left (first ips). Negative indices -1, -2, -3 chooses indices from the right (last ips).
ipHeaderName The name of the header to extract the client ip from. We are currently only supporting the X-Forwarded-For header.
const
-
factory
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
The index of the ip in the header. Positive indices 0, 1, 2, 3 chooses indices from the left (first ips). Negative indices -1, -2, -3 chooses indices from the right (last ips).
final
-
The name of the header to extract the client ip from. We are currently only supporting the X-Forwarded-For header.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited