|
// ------------------------------------------------------------------------------
// <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
{
internal static partial class PInvoke
{
internal const uint HTTP_DEMAND_CBT = 4U;
internal const uint HTTP_MAX_SERVER_QUEUE_LENGTH = 2147483647U;
internal const uint HTTP_MIN_SERVER_QUEUE_LENGTH = 1U;
internal const uint HTTP_AUTH_ENABLE_BASIC = 1U;
internal const uint HTTP_AUTH_ENABLE_DIGEST = 2U;
internal const uint HTTP_AUTH_ENABLE_NTLM = 4U;
internal const uint HTTP_AUTH_ENABLE_NEGOTIATE = 8U;
internal const uint HTTP_AUTH_ENABLE_KERBEROS = 16U;
internal const uint HTTP_AUTH_EX_FLAG_ENABLE_KERBEROS_CREDENTIAL_CACHING = 1U;
internal const uint HTTP_AUTH_EX_FLAG_CAPTURE_CREDENTIAL = 2U;
internal const uint HTTP_CHANNEL_BIND_PROXY = 1U;
internal const uint HTTP_CHANNEL_BIND_PROXY_COHOSTING = 32U;
internal const uint HTTP_CHANNEL_BIND_NO_SERVICE_NAME_CHECK = 2U;
internal const uint HTTP_CHANNEL_BIND_DOTLESS_SERVICE = 4U;
internal const uint HTTP_CHANNEL_BIND_SECURE_CHANNEL_TOKEN = 8U;
internal const uint HTTP_CHANNEL_BIND_CLIENT_SERVICE = 16U;
internal const uint HTTP_LOG_FIELD_DATE = 1U;
internal const uint HTTP_LOG_FIELD_TIME = 2U;
internal const uint HTTP_LOG_FIELD_CLIENT_IP = 4U;
internal const uint HTTP_LOG_FIELD_USER_NAME = 8U;
internal const uint HTTP_LOG_FIELD_SITE_NAME = 16U;
internal const uint HTTP_LOG_FIELD_COMPUTER_NAME = 32U;
internal const uint HTTP_LOG_FIELD_SERVER_IP = 64U;
internal const uint HTTP_LOG_FIELD_METHOD = 128U;
internal const uint HTTP_LOG_FIELD_URI_STEM = 256U;
internal const uint HTTP_LOG_FIELD_URI_QUERY = 512U;
internal const uint HTTP_LOG_FIELD_STATUS = 1024U;
internal const uint HTTP_LOG_FIELD_WIN32_STATUS = 2048U;
internal const uint HTTP_LOG_FIELD_BYTES_SENT = 4096U;
internal const uint HTTP_LOG_FIELD_BYTES_RECV = 8192U;
internal const uint HTTP_LOG_FIELD_TIME_TAKEN = 16384U;
internal const uint HTTP_LOG_FIELD_SERVER_PORT = 32768U;
internal const uint HTTP_LOG_FIELD_USER_AGENT = 65536U;
internal const uint HTTP_LOG_FIELD_COOKIE = 131072U;
internal const uint HTTP_LOG_FIELD_REFERER = 262144U;
internal const uint HTTP_LOG_FIELD_VERSION = 524288U;
internal const uint HTTP_LOG_FIELD_HOST = 1048576U;
internal const uint HTTP_LOG_FIELD_SUB_STATUS = 2097152U;
internal const uint HTTP_LOG_FIELD_STREAM_ID = 134217728U;
internal const uint HTTP_LOG_FIELD_STREAM_ID_EX = 268435456U;
internal const uint HTTP_LOG_FIELD_TRANSPORT_TYPE = 536870912U;
internal const uint HTTP_LOG_FIELD_CLIENT_PORT = 4194304U;
internal const uint HTTP_LOG_FIELD_URI = 8388608U;
internal const uint HTTP_LOG_FIELD_SITE_ID = 16777216U;
internal const uint HTTP_LOG_FIELD_REASON = 33554432U;
internal const uint HTTP_LOG_FIELD_QUEUE_NAME = 67108864U;
internal const uint HTTP_LOG_FIELD_CORRELATION_ID = 1073741824U;
internal const uint HTTP_LOG_FIELD_FAULT_CODE = 2147483648U;
internal const uint HTTP_LOGGING_FLAG_LOCAL_TIME_ROLLOVER = 1U;
internal const uint HTTP_LOGGING_FLAG_USE_UTF8_CONVERSION = 2U;
internal const uint HTTP_LOGGING_FLAG_LOG_ERRORS_ONLY = 4U;
internal const uint HTTP_LOGGING_FLAG_LOG_SUCCESS_ONLY = 8U;
internal const uint HTTP_CREATE_REQUEST_QUEUE_FLAG_OPEN_EXISTING = 1U;
internal const uint HTTP_CREATE_REQUEST_QUEUE_FLAG_CONTROLLER = 2U;
internal const uint HTTP_CREATE_REQUEST_QUEUE_FLAG_DELEGATION = 8U;
internal const uint HTTP_RECEIVE_REQUEST_ENTITY_BODY_FLAG_FILL_BUFFER = 1U;
internal const uint HTTP_SEND_RESPONSE_FLAG_DISCONNECT = 1U;
internal const uint HTTP_SEND_RESPONSE_FLAG_MORE_DATA = 2U;
internal const uint HTTP_SEND_RESPONSE_FLAG_BUFFER_DATA = 4U;
internal const uint HTTP_SEND_RESPONSE_FLAG_ENABLE_NAGLING = 8U;
internal const uint HTTP_SEND_RESPONSE_FLAG_PROCESS_RANGES = 32U;
internal const uint HTTP_SEND_RESPONSE_FLAG_OPAQUE = 64U;
internal const uint HTTP_SEND_RESPONSE_FLAG_GOAWAY = 256U;
internal const uint HTTP_FLUSH_RESPONSE_FLAG_RECURSIVE = 1U;
internal const uint HTTP_URL_FLAG_REMOVE_ALL = 1U;
internal const uint HTTP_RECEIVE_SECURE_CHANNEL_TOKEN = 1U;
internal const uint HTTP_RECEIVE_FULL_CHAIN = 2U;
internal const uint HTTP_REQUEST_SIZING_INFO_FLAG_TCP_FAST_OPEN = 1U;
internal const uint HTTP_REQUEST_SIZING_INFO_FLAG_TLS_SESSION_RESUMPTION = 2U;
internal const uint HTTP_REQUEST_SIZING_INFO_FLAG_TLS_FALSE_START = 4U;
internal const uint HTTP_REQUEST_SIZING_INFO_FLAG_FIRST_REQUEST = 8U;
internal const uint HTTP_REQUEST_AUTH_FLAG_TOKEN_FOR_CACHED_CRED = 1U;
internal const uint HTTP_REQUEST_FLAG_MORE_ENTITY_BODY_EXISTS = 1U;
internal const uint HTTP_REQUEST_FLAG_IP_ROUTED = 2U;
internal const uint HTTP_REQUEST_FLAG_HTTP2 = 4U;
internal const uint HTTP_REQUEST_FLAG_HTTP3 = 8U;
internal const uint HTTP_RESPONSE_FLAG_MULTIPLE_ENCODINGS_AVAILABLE = 1U;
internal const uint HTTP_RESPONSE_FLAG_MORE_ENTITY_BODY_EXISTS = 2U;
internal const uint HTTP_RESPONSE_INFO_FLAGS_PRESERVE_ORDER = 1U;
internal const uint HTTP_SERVICE_CONFIG_SSL_FLAG_USE_DS_MAPPER = 1U;
internal const uint HTTP_SERVICE_CONFIG_SSL_FLAG_NEGOTIATE_CLIENT_CERT = 2U;
internal const uint HTTP_SERVICE_CONFIG_SSL_FLAG_NO_RAW_FILTER = 4U;
internal const uint HTTP_SERVICE_CONFIG_SSL_FLAG_REJECT = 8U;
internal const uint HTTP_SERVICE_CONFIG_SSL_FLAG_DISABLE_HTTP2 = 16U;
internal const uint HTTP_SERVICE_CONFIG_SSL_FLAG_DISABLE_QUIC = 32U;
internal const uint HTTP_SERVICE_CONFIG_SSL_FLAG_DISABLE_TLS13 = 64U;
internal const uint HTTP_SERVICE_CONFIG_SSL_FLAG_DISABLE_OCSP_STAPLING = 128U;
internal const uint HTTP_SERVICE_CONFIG_SSL_FLAG_ENABLE_TOKEN_BINDING = 256U;
internal const uint HTTP_SERVICE_CONFIG_SSL_FLAG_LOG_EXTENDED_EVENTS = 512U;
internal const uint HTTP_SERVICE_CONFIG_SSL_FLAG_DISABLE_LEGACY_TLS = 1024U;
internal const uint HTTP_SERVICE_CONFIG_SSL_FLAG_ENABLE_SESSION_TICKET = 2048U;
internal const uint HTTP_SERVICE_CONFIG_SSL_FLAG_DISABLE_TLS12 = 4096U;
internal const uint HTTP_SERVICE_CONFIG_SSL_FLAG_ENABLE_CLIENT_CORRELATION = 8192U;
internal const uint HTTP_SERVICE_CONFIG_SSL_FLAG_DISABLE_SESSION_ID = 16384U;
internal const uint HTTP_REQUEST_PROPERTY_SNI_HOST_MAX_LENGTH = 255U;
internal const uint HTTP_REQUEST_PROPERTY_SNI_FLAG_SNI_USED = 1U;
internal const uint HTTP_REQUEST_PROPERTY_SNI_FLAG_NO_SNI = 2U;
/// <summary>Defines a version of the HTTP protocol that a request requires or a response provides.</summary>
/// <remarks>
/// <para>For more information about the HTTP protocol, see <a href="https://www.ietf.org/rfc/rfc2616.txt">RFC 2616</a>. The following macros define various versions of the HTTP protocol:"#define HTTP_VERSION_UNKNOWN { 0, 0 }""#define HTTP_VERSION_0_9 { 0, 9 }""#define HTTP_VERSION_1_0 { 1, 0 }""#define HTTP_VERSION_1_1 { 1, 1 }" The HTTP Server API provides a number of macros that can be used to evaluate the value of an HTTP_VERSION structure; For more information, see <a href="https://docs.microsoft.com/windows/desktop/Http/http-server-api-version-1-0-macros">HTTP Server API Version 1.0 Macros</a>. <div class="alert"><b>Note</b> The HTTP Server API rejects a version of HTTP larger than 65,535 in either the major or minor portion. If a request includes such a version number, the HTTP Server API discards it and returns a response with status 400 ("Bad Request").</div> <div> </div></para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_version#">Read more on docs.microsoft.com</see>.</para>
/// </remarks>
internal const string HTTP_VERSION = "HTTP/1.0";
}
}
|