HttpHeaders
Contains constants for common HTTP header field names.
Felder
public const string AcceptEncoding
value = HttpHeaders.AcceptEncoding
Gets the header name for Accept-Encoding.
public const string AcceptLanguage
value = HttpHeaders.AcceptLanguage
Gets the header name for Accept-Language.
public const string Authorization
value = HttpHeaders.Authorization
Gets the header name for Authorization.
public const string CacheControl
value = HttpHeaders.CacheControl
Gets the header name for Cache-Control.
public const string CFConnectingIP
value = HttpHeaders.CFConnectingIP
Gets the header name for CF-Connecting-IP (Cloudflare).
public static readonly string[] ClientIpHeaders
value = HttpHeaders.ClientIpHeaders
Gets the list of headers used to determine the real client IP address behind proxies.
public const string Connection
value = HttpHeaders.Connection
Gets the header name for Connection.
public const string Forwarded
value = HttpHeaders.Forwarded
Gets the header name for Forwarded (RFC 7239).
public const string KeepAlive
value = HttpHeaders.KeepAlive
Gets the header name for Keep-Alive.
public const string LastModified
value = HttpHeaders.LastModified
Gets the header name for Last-Modified.
public const string ProxyAuthenticate
value = HttpHeaders.ProxyAuthenticate
Gets the header name for Proxy-Authenticate.
public const string ProxyAuthorization
value = HttpHeaders.ProxyAuthorization
Gets the header name for Proxy-Authorization.
public const string ProxyConnection
value = HttpHeaders.ProxyConnection
Gets the header name for Proxy-Connection.
public const string TrueClientIP
value = HttpHeaders.TrueClientIP
Gets the header name for True-Client-IP (Cloudflare/Akamai).
public const string UserAgent
value = HttpHeaders.UserAgent
Gets the header name for User-Agent.
public const string WWWAuthenticate
value = HttpHeaders.WWWAuthenticate
Gets the header name for WWW-Authenticate.
public const string XForwardedFor
value = HttpHeaders.XForwardedFor
Gets the header name for X-Forwarded-For (standard proxy header).
public const string XRealIP
value = HttpHeaders.XRealIP
Gets the header name for X-Real-IP (nginx).