Unosquare
    Show / Hide Table of Contents

    Class HttpHeaderNames

    Exposes known HTTP header names.

    Inheritance
    Object
    HttpHeaderNames
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: EmbedIO
    Syntax
    public static class HttpHeaderNames
    Remarks

    The constants in this class have been extracted from a list of known HTTP header names. The presence of a header name in this class is not a guarantee that EmbedIO supports, or even recognizes, it. Refer to the documentation for each module for information about supported headers.

    Fields

    Accept

    The Accept HTTP header.

    Declaration
    public const string Accept = "Accept"
    Field Value
    Type Description
    String

    AcceptCharset

    The Accept-Charset HTTP header.

    Declaration
    public const string AcceptCharset = "Accept-Charset"
    Field Value
    Type Description
    String

    AcceptEncoding

    The Accept-Encoding HTTP header.

    Declaration
    public const string AcceptEncoding = "Accept-Encoding"
    Field Value
    Type Description
    String

    AcceptLanguage

    The Accept-Language HTTP header.

    Declaration
    public const string AcceptLanguage = "Accept-Language"
    Field Value
    Type Description
    String

    AcceptPatch

    The Accept-Patch HTTP header.

    Declaration
    public const string AcceptPatch = "Accept-Patch"
    Field Value
    Type Description
    String

    AcceptRanges

    The Accept-Ranges HTTP header.

    Declaration
    public const string AcceptRanges = "Accept-Ranges"
    Field Value
    Type Description
    String

    AccessControlAllowCredentials

    The Access-Control-Allow-Credentials HTTP header.

    Declaration
    public const string AccessControlAllowCredentials = "Access-Control-Allow-Credentials"
    Field Value
    Type Description
    String

    AccessControlAllowHeaders

    The Access-Control-Allow-Headers HTTP header.

    Declaration
    public const string AccessControlAllowHeaders = "Access-Control-Allow-Headers"
    Field Value
    Type Description
    String

    AccessControlAllowMethods

    The Access-Control-Allow-Methods HTTP header.

    Declaration
    public const string AccessControlAllowMethods = "Access-Control-Allow-Methods"
    Field Value
    Type Description
    String

    AccessControlAllowOrigin

    The Access-Control-Allow-Origin HTTP header.

    Declaration
    public const string AccessControlAllowOrigin = "Access-Control-Allow-Origin"
    Field Value
    Type Description
    String

    AccessControlExposeHeaders

    The Access-Control-Expose-Headers HTTP header.

    Declaration
    public const string AccessControlExposeHeaders = "Access-Control-Expose-Headers"
    Field Value
    Type Description
    String

    AccessControlMaxAge

    The Access-Control-Max-Age HTTP header.

    Declaration
    public const string AccessControlMaxAge = "Access-Control-Max-Age"
    Field Value
    Type Description
    String

    AccessControlRequestHeaders

    The Access-Control-Request-Headers HTTP header.

    Declaration
    public const string AccessControlRequestHeaders = "Access-Control-Request-Headers"
    Field Value
    Type Description
    String

    AccessControlRequestMethod

    The Access-Control-Request-Method HTTP header.

    Declaration
    public const string AccessControlRequestMethod = "Access-Control-Request-Method"
    Field Value
    Type Description
    String

    Age

    The Age HTTP header.

    Declaration
    public const string Age = "Age"
    Field Value
    Type Description
    String

    Allow

    The Allow HTTP header.

    Declaration
    public const string Allow = "Allow"
    Field Value
    Type Description
    String

    AltSvc

    The Alt-Svc HTTP header.

    Declaration
    public const string AltSvc = "Alt-Svc"
    Field Value
    Type Description
    String

    Authorization

    The Authorization HTTP header.

    Declaration
    public const string Authorization = "Authorization"
    Field Value
    Type Description
    String

    CacheControl

    The Cache-Control HTTP header.

    Declaration
    public const string CacheControl = "Cache-Control"
    Field Value
    Type Description
    String

    Connection

    The Connection HTTP header.

    Declaration
    public const string Connection = "Connection"
    Field Value
    Type Description
    String

    ContentDisposition

    The Content-Disposition HTTP header.

    Declaration
    public const string ContentDisposition = "Content-Disposition"
    Field Value
    Type Description
    String

    ContentEncoding

    The Content-Encoding HTTP header.

    Declaration
    public const string ContentEncoding = "Content-Encoding"
    Field Value
    Type Description
    String

    ContentLanguage

    The Content-Language HTTP header.

    Declaration
    public const string ContentLanguage = "Content-Language"
    Field Value
    Type Description
    String

    ContentLength

    The Content-Length HTTP header.

    Declaration
    public const string ContentLength = "Content-Length"
    Field Value
    Type Description
    String

    ContentLocation

    The Content-Location HTTP header.

    Declaration
    public const string ContentLocation = "Content-Location"
    Field Value
    Type Description
    String

    ContentMD5

    The Content-MD5 HTTP header.

    Declaration
    public const string ContentMD5 = "Content-MD5"
    Field Value
    Type Description
    String

    ContentRange

    The Content-Range HTTP header.

    Declaration
    public const string ContentRange = "Content-Range"
    Field Value
    Type Description
    String

    ContentSecurityPolicy

    The Content-Security-Policy HTTP header.

    Declaration
    public const string ContentSecurityPolicy = "Content-Security-Policy"
    Field Value
    Type Description
    String

    ContentType

    The Content-Type HTTP header.

    Declaration
    public const string ContentType = "Content-Type"
    Field Value
    Type Description
    String

    Cookie

    The Cookie HTTP header.

    Declaration
    public const string Cookie = "Cookie"
    Field Value
    Type Description
    String

    Cookie2

    The Cookie2 HTTP header.

    Declaration
    public const string Cookie2 = "Cookie2"
    Field Value
    Type Description
    String

    Date

    The Date HTTP header.

    Declaration
    public const string Date = "Date"
    Field Value
    Type Description
    String

    ETag

    The ETag HTTP header.

    Declaration
    public const string ETag = "ETag"
    Field Value
    Type Description
    String

    Expect

    The Expect HTTP header.

    Declaration
    public const string Expect = "Expect"
    Field Value
    Type Description
    String

    Expires

    The Expires HTTP header.

    Declaration
    public const string Expires = "Expires"
    Field Value
    Type Description
    String

    From

    The From HTTP header.

    Declaration
    public const string From = "From"
    Field Value
    Type Description
    String

    Host

    The Host HTTP header.

    Declaration
    public const string Host = "Host"
    Field Value
    Type Description
    String

    IfMatch

    The If-Match HTTP header.

    Declaration
    public const string IfMatch = "If-Match"
    Field Value
    Type Description
    String

    IfModifiedSince

    The If-Modified-Since HTTP header.

    Declaration
    public const string IfModifiedSince = "If-Modified-Since"
    Field Value
    Type Description
    String

    IfNoneMatch

    The If-None-Match HTTP header.

    Declaration
    public const string IfNoneMatch = "If-None-Match"
    Field Value
    Type Description
    String

    IfRange

    The If-Range HTTP header.

    Declaration
    public const string IfRange = "If-Range"
    Field Value
    Type Description
    String

    IfUnmodifiedSince

    The If-Unmodified-Since HTTP header.

    Declaration
    public const string IfUnmodifiedSince = "If-Unmodified-Since"
    Field Value
    Type Description
    String

    KeepAlive

    The Keep-Alive HTTP header.

    Declaration
    public const string KeepAlive = "Keep-Alive"
    Field Value
    Type Description
    String

    LastModified

    The Last-Modified HTTP header.

    Declaration
    public const string LastModified = "Last-Modified"
    Field Value
    Type Description
    String

    Link

    The Link HTTP header.

    Declaration
    public const string Link = "Link"
    Field Value
    Type Description
    String

    Location

    The Location HTTP header.

    Declaration
    public const string Location = "Location"
    Field Value
    Type Description
    String

    MaxForwards

    The Max-Forwards HTTP header.

    Declaration
    public const string MaxForwards = "Max-Forwards"
    Field Value
    Type Description
    String

    Origin

    The Origin HTTP header.

    Declaration
    public const string Origin = "Origin"
    Field Value
    Type Description
    String

    P3P

    The P3P HTTP header.

    Declaration
    public const string P3P = "P3P"
    Field Value
    Type Description
    String

    Pragma

    The Pragma HTTP header.

    Declaration
    public const string Pragma = "Pragma"
    Field Value
    Type Description
    String

    ProxyAuthenticate

    The Proxy-Authenticate HTTP header.

    Declaration
    public const string ProxyAuthenticate = "Proxy-Authenticate"
    Field Value
    Type Description
    String

    ProxyAuthorization

    The Proxy-Authorization HTTP header.

    Declaration
    public const string ProxyAuthorization = "Proxy-Authorization"
    Field Value
    Type Description
    String

    ProxyConnection

    The Proxy-Connection HTTP header.

    Declaration
    public const string ProxyConnection = "Proxy-Connection"
    Field Value
    Type Description
    String

    PublicKeyPins

    The Public-Key-Pins HTTP header.

    Declaration
    public const string PublicKeyPins = "Public-Key-Pins"
    Field Value
    Type Description
    String

    Range

    The Range HTTP header.

    Declaration
    public const string Range = "Range"
    Field Value
    Type Description
    String

    Referer

    The Referer HTTP header.

    Declaration
    public const string Referer = "Referer"
    Field Value
    Type Description
    String
    Remarks

    The incorrect spelling ("Referer" instead of "Referrer") is intentional and has historical reasons.

    See the "Etymology" section of the Wikipedia article on this header for more information.

    RetryAfter

    The Retry-After HTTP header.

    Declaration
    public const string RetryAfter = "Retry-After"
    Field Value
    Type Description
    String

    SecWebSocketAccept

    The Sec-WebSocket-Accept HTTP header.

    Declaration
    public const string SecWebSocketAccept = "Sec-WebSocket-Accept"
    Field Value
    Type Description
    String

    SecWebSocketExtensions

    The Sec-WebSocket-Extensions HTTP header.

    Declaration
    public const string SecWebSocketExtensions = "Sec-WebSocket-Extensions"
    Field Value
    Type Description
    String

    SecWebSocketKey

    The Sec-WebSocket-Key HTTP header.

    Declaration
    public const string SecWebSocketKey = "Sec-WebSocket-Key"
    Field Value
    Type Description
    String

    SecWebSocketProtocol

    The Sec-WebSocket-Protocol HTTP header.

    Declaration
    public const string SecWebSocketProtocol = "Sec-WebSocket-Protocol"
    Field Value
    Type Description
    String

    SecWebSocketVersion

    The Sec-WebSocket-Version HTTP header.

    Declaration
    public const string SecWebSocketVersion = "Sec-WebSocket-Version"
    Field Value
    Type Description
    String

    Server

    The Server HTTP header.

    Declaration
    public const string Server = "Server"
    Field Value
    Type Description
    String

    SetCookie

    The Set-Cookie HTTP header.

    Declaration
    public const string SetCookie = "Set-Cookie"
    Field Value
    Type Description
    String

    SetCookie2

    The Set-Cookie2 HTTP header.

    Declaration
    public const string SetCookie2 = "Set-Cookie2"
    Field Value
    Type Description
    String

    StrictTransportSecurity

    The Strict-Transport-Security HTTP header.

    Declaration
    public const string StrictTransportSecurity = "Strict-Transport-Security"
    Field Value
    Type Description
    String

    TE

    The TE HTTP header.

    Declaration
    public const string TE = "TE"
    Field Value
    Type Description
    String

    Trailer

    The Trailer HTTP header.

    Declaration
    public const string Trailer = "Trailer"
    Field Value
    Type Description
    String

    TransferEncoding

    The Transfer-Encoding HTTP header.

    Declaration
    public const string TransferEncoding = "Transfer-Encoding"
    Field Value
    Type Description
    String

    TSV

    The TSV HTTP header.

    Declaration
    public const string TSV = "TSV"
    Field Value
    Type Description
    String

    Upgrade

    The Upgrade HTTP header.

    Declaration
    public const string Upgrade = "Upgrade"
    Field Value
    Type Description
    String

    UpgradeInsecureRequests

    The Upgrade-Insecure-Requests HTTP header.

    Declaration
    public const string UpgradeInsecureRequests = "Upgrade-Insecure-Requests"
    Field Value
    Type Description
    String

    UserAgent

    The User-Agent HTTP header.

    Declaration
    public const string UserAgent = "User-Agent"
    Field Value
    Type Description
    String

    Vary

    The Vary HTTP header.

    Declaration
    public const string Vary = "Vary"
    Field Value
    Type Description
    String

    Via

    The Via HTTP header.

    Declaration
    public const string Via = "Via"
    Field Value
    Type Description
    String

    Warning

    The Warning HTTP header.

    Declaration
    public const string Warning = "Warning"
    Field Value
    Type Description
    String

    WWWAuthenticate

    The WWW-Authenticate HTTP header.

    Declaration
    public const string WWWAuthenticate = "WWW-Authenticate"
    Field Value
    Type Description
    String

    XAspNetVersion

    The X-AspNet-Version HTTP header.

    Declaration
    public const string XAspNetVersion = "X-AspNet-Version"
    Field Value
    Type Description
    String

    XContentDuration

    The X-Content-Duration HTTP header.

    Declaration
    public const string XContentDuration = "X-Content-Duration"
    Field Value
    Type Description
    String

    XContentTypeOptions

    The X-Content-Type-Options HTTP header.

    Declaration
    public const string XContentTypeOptions = "X-Content-Type-Options"
    Field Value
    Type Description
    String

    XFrameOptions

    The X-Frame-Options HTTP header.

    Declaration
    public const string XFrameOptions = "X-Frame-Options"
    Field Value
    Type Description
    String

    XMSEdgeRef

    The X-MSEdge-Ref HTTP header.

    Declaration
    public const string XMSEdgeRef = "X-MSEdge-Ref"
    Field Value
    Type Description
    String

    XPoweredBy

    The X-Powered-By HTTP header.

    Declaration
    public const string XPoweredBy = "X-Powered-By"
    Field Value
    Type Description
    String

    XRequestID

    The X-Request-ID HTTP header.

    Declaration
    public const string XRequestID = "X-Request-ID"
    Field Value
    Type Description
    String

    XUACompatible

    The X-UA-Compatible HTTP header.

    Declaration
    public const string XUACompatible = "X-UA-Compatible"
    Field Value
    Type Description
    String

    Comments

    Back to top Copyright © 2017-2019 Unosquare