|
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
#pragma warning disable CS1591,CS1573,CS0465,CS0649,CS8019,CS1570,CS1584,CS1658,CS0436,CS8981
using global::System;
using global::System.Diagnostics;
using global::System.Diagnostics.CodeAnalysis;
using global::System.Runtime.CompilerServices;
using global::System.Runtime.InteropServices;
using global::System.Runtime.Versioning;
using winmdroot = global::Windows.Win32;
namespace Windows.Win32
{
namespace Networking.HttpServer
{
/// <summary>The HTTP_HEADER_ID enumeration type lists known headers for HTTP requests and responses, and associates an array index with each such header.</summary>
/// <remarks>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ne-http-http_header_id">Learn more about this API from docs.microsoft.com</see>.</para>
/// </remarks>
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.46-beta+dd815b2b9b")]
internal enum HTTP_HEADER_ID
{
/// <summary>Used to specify caching behavior along the request or response chain, overriding the default caching algorithm.</summary>
HttpHeaderCacheControl = 0,
/// <summary>Allows the sender to specify options that are desired for that particular connection. These are used for a single connection only and must not be communicated by proxies over further connections.</summary>
HttpHeaderConnection = 1,
/// <summary>The Date is a general header field that indicates the time that the request or response was sent.</summary>
HttpHeaderDate = 2,
/// <summary>
/// <para>Based on the keepalive XML element (see <a href="https://www.ietf.org/rfc/rfc2518.txt">RFC 2518</a>, section 12.12.1, page 66); a list of URIs included in the KeepAlive header must be "live" after they are copied (moved) to the destination.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ne-http-http_header_id#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
HttpHeaderKeepAlive = 3,
/// <summary>Used to include optional, implementation-specific directives that might apply to any recipient along the request/response chain.</summary>
HttpHeaderPragma = 4,
/// <summary>Indicates that specified header fields are present in the trailer of a message encoded with chunked transfer-coding.</summary>
HttpHeaderTrailer = 5,
/// <summary>Indicates what, if any, transformations have been applied to the message body in transit.</summary>
HttpHeaderTransferEncoding = 6,
/// <summary>Allows the client to specify one or more other communication protocols it would prefer to use if the server can comply.</summary>
HttpHeaderUpgrade = 7,
/// <summary>The Via header field indicates the path taken by the request.</summary>
HttpHeaderVia = 8,
/// <summary>This is a response header that contains the 3-digit warn code along with the reason phrase.</summary>
HttpHeaderWarning = 9,
/// <summary>Lists the set of methods supported by the resource identified by the Request-URI.</summary>
HttpHeaderAllow = 10,
/// <summary>The size of the message body in decimal bytes.</summary>
HttpHeaderContentLength = 11,
/// <summary>The media type of the message body.</summary>
HttpHeaderContentType = 12,
/// <summary>The encoding scheme for the message body.</summary>
HttpHeaderContentEncoding = 13,
/// <summary>Provides the natural language of the intended audience.</summary>
HttpHeaderContentLanguage = 14,
/// <summary>Location of the resource for the entity enclosed in the message when that entity is accessible from a location separate from the requested resource's URI.</summary>
HttpHeaderContentLocation = 15,
/// <summary>An MD5 digest of the entity-body used to provide end-to-end message integrity check (MIC) of the entity-body.</summary>
HttpHeaderContentMd5 = 16,
/// <summary>The content range header is sent with a partial entity body to specify where in the full entity body the partial body should be applied.</summary>
HttpHeaderContentRange = 17,
/// <summary>The date and time after which the message content expires.</summary>
HttpHeaderExpires = 18,
/// <summary>Indicates the date and time at which the origin server believes the variant was last modified.</summary>
HttpHeaderLastModified = 19,
/// <summary>Used with the INVITE, OPTIONS, and REGISTER methods to indicate what media types are acceptable in the response.</summary>
HttpHeaderAccept = 20,
/// <summary>Indicates the character sets that are acceptable for the response.</summary>
HttpHeaderAcceptCharset = 21,
/// <summary>The content encodings that are acceptable in the response.</summary>
HttpHeaderAcceptEncoding = 22,
/// <summary>Used by the client to indicate to the server which language it would prefer to receive reason phrases, session descriptions, or status responses.</summary>
HttpHeaderAcceptLanguage = 23,
/// <summary>The user-agent can authenticate itself with a server by sending the Authorization request header field with the request. The field contains the credentials for the domain that the user is requesting.</summary>
HttpHeaderAuthorization = 24,
/// <summary>The cookie request header contains data used to maintain client state with the server. Cookie data is obtained from a response sent with <b>HttpHeaderSetCookie</b>.</summary>
HttpHeaderCookie = 25,
/// <summary>Indicates the specific server behaviors that are required by the client.</summary>
HttpHeaderExpect = 26,
/// <summary>The From header field specifies the initiator of the SIP request or response message.</summary>
HttpHeaderFrom = 27,
/// <summary>Specifies the Internet host and port number of the requested resource. This is obtained from the original URI given by the user or referring resource.</summary>
HttpHeaderHost = 28,
/// <summary>The If-Match request header field is used with a method to make it conditional. A client that has one or more entities previously obtained from the resource can verify that one of those entities is current by including a list of their associated entity tags in the If-Match header field.</summary>
HttpHeaderIfMatch = 29,
/// <summary>The If-Modified-Since request header field is used with a method to make it conditional. If the requested variant has not been modified since the time specified in this field, an entity is not returned from the server; instead, a 304 (not modified) response is returned without any message-body.</summary>
HttpHeaderIfModifiedSince = 30,
/// <summary>
/// <para>The If-None-Match request-header field is used with a method to make it conditional. When a client has obtained one or more entities from a resource, it can verify that none of those entities is current by including a list of their associated entity tags in the If-None-Match header field. The purpose of this feature is to allow efficient updates of cached information with a minimum amount of transaction overhead, and to prevent a method such as PUT from inadvertently modifying an existing resource when the client believes that the resource does not exist.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ne-http-http_header_id#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
HttpHeaderIfNoneMatch = 31,
/// <summary>
/// <para>If a client has a partial copy of an entity in its cache, and wishes to obtain an up-to-date copy of the entire entity, it can use the If-Range header. Informally, its meaning is, "if the entity is unchanged, send me the part(s) I am missing; otherwise, send me the entire new entity."</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ne-http-http_header_id#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
HttpHeaderIfRange = 32,
/// <summary>
/// <para>The If-Unmodified-Since request-header field is used with a method to make it conditional. If the requested resource has not been modified since the time specified in this field, the server performs the requested operation as if the If-Unmodified-Since header were not present, but if the requested resource has been modified, the server returns a 412 error (Precondition Failed).</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ne-http-http_header_id#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
HttpHeaderIfUnmodifiedSince = 33,
/// <summary>The maximum number of proxies or gateways that can forward the request.</summary>
HttpHeaderMaxForwards = 34,
/// <summary>This header field is used by the client to identify itself with a proxy.</summary>
HttpHeaderProxyAuthorization = 35,
/// <summary>Allows the client to specify, for the server's benefit, the address (URI) of the resource from which the Request-URI was obtained.</summary>
HttpHeaderReferer = 36,
/// <summary>Allows a client to request a part of an entity instead of the whole.</summary>
HttpHeaderRange = 37,
/// <summary>This header field contains the recipient of the SIP request or response message.</summary>
HttpHeaderTe = 38,
/// <summary>Allows the client to specify whether it wants the source representation or programmatic interpretation of the requested content.</summary>
HttpHeaderTranslate = 39,
/// <summary>Indicates what extension transfer-codings the client accepts in the response and whether or not the client accepts trailer fields in a chunked transfer-coding.</summary>
HttpHeaderUserAgent = 40,
/// <summary>Not a value that actually designates a header; instead, it is used to count the enumerated Request headers.</summary>
HttpHeaderRequestMaximum = 41,
/// <summary>Allows the server to indicate its acceptance of range requests for a resource.</summary>
HttpHeaderAcceptRanges = 20,
/// <summary>Conveys the sender's estimate of the amount of time since the response (or its revalidation) was generated at the origin server.</summary>
HttpHeaderAge = 21,
/// <summary>Provides the current value of the entity tag for the requested variant.</summary>
HttpHeaderEtag = 22,
/// <summary>Used to redirect the recipient to a location other than the Request-URI for completion of the request or identification of a new resource.</summary>
HttpHeaderLocation = 23,
/// <summary>The response field that must be included as a part of the 407 response. The field includes the authentication scheme and parameters that apply to the proxy for this Request-URI.</summary>
HttpHeaderProxyAuthenticate = 24,
/// <summary>The length of time that the service is expected to be unavailable to the requesting client.</summary>
HttpHeaderRetryAfter = 25,
/// <summary>This is a response header field that contains information about the server that is handling the request.</summary>
HttpHeaderServer = 26,
/// <summary>The <b>set-cookie</b> response header contains data used to maintain client state in future requests sent with <b>HttpHeaderCookie</b>.</summary>
HttpHeaderSetCookie = 27,
/// <summary>Indicates the set of request header fields that fully determines, while the response is fresh, whether a cache is permitted to use the response to reply to a subsequent request without revalidation.</summary>
HttpHeaderVary = 28,
/// <summary>The WWW_Authenticate header field contains the authentication schemes and parameters applicable to the Request-URI.</summary>
HttpHeaderWwwAuthenticate = 29,
/// <summary>Not a value that actually designates a header; instead, it is used to count the enumerated Response headers.</summary>
HttpHeaderResponseMaximum = 30,
/// <summary>Not a value that actually designates a header; instead, it is used to count all the enumerated headers.</summary>
HttpHeaderMaximum = 41,
}
}
}
|