EnvironmentClientIpResolutionConfigHeaderIndexAlgorithm class

Constructors

EnvironmentClientIpResolutionConfigHeaderIndexAlgorithm({required Input<int> ipHeaderIndex, required Input<String> ipHeaderName})
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
EnvironmentClientIpResolutionConfigHeaderIndexAlgorithm.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
ipHeaderIndex → Input<int>
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
ipHeaderName → Input<String>
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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited