CommonAccessLogOptions.ClientAddressHeader property
Gets or sets the name of the HTTP header that should be consulted for the client address (for example X-Forwarded-For). When the header is missing the connection remote address is used.
public string? ClientAddressHeader { get; set; }
See Also
- class CommonAccessLogOptions
- namespace Kestrun.Middleware