|
// ------------------------------------------------------------------------------
// <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,SYSLIB1092
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_503_RESPONSE_VERBOSITY enumeration defines the verbosity levels for a 503, service unavailable, error responses.This structure must be used when setting or querying the HttpServer503ResponseProperty on a request queue.</summary>
/// <remarks>
/// <para>This enumeration is used in <a href="https://docs.microsoft.com/windows/desktop/api/http/nf-http-httpsetrequestqueueproperty">HttpSetRequestQueueProperty</a>, and <a href="https://docs.microsoft.com/windows/desktop/api/http/nf-http-httpqueryrequestqueueproperty">HttpQueryrequestQueueProperty</a> to set and query the 503 response verbosity. The <i>pPropertyInformation</i> parameter points to a member of the <b>HTTP_503_RESPONSE_VERBOSITY</b> enumeration when the <i>Property</i> parameter is <b>HttpServer503VerbosityProperty</b>. This enumeration defines the verbosity level for a request queue when sending 503 (Service Unavailable) error responses. Note that the 503 response level set using the <b>HTTP_503_RESPONSE_VERBOSITY</b> enumeration only affects the error responses generated internally by the HTTP Server API.</para>
/// <para><div class="alert"><b>Note</b> Disclosing information about the state of the service to potentially unsafe clients may pose a security risk.</div> <div> </div></para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ne-http-http_503_response_verbosity#">Read more on learn.microsoft.com</see>.</para>
/// </remarks>
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.269+368685089b.RR")]
internal enum HTTP_503_RESPONSE_VERBOSITY
{
/// <summary>
/// <para>A 503 response is not sent; the connection is reset. This is the default HTTP Server API behavior.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ne-http-http_503_response_verbosity#members">Read more on learn.microsoft.com</see>.</para>
/// </summary>
Http503ResponseVerbosityBasic = 0,
/// <summary>The HTTP Server API sends a 503 response with a "Service Unavailable" reason phrase. The HTTP Server closes the TCP connection after sending the response, so the client has to re-connect.</summary>
Http503ResponseVerbosityLimited = 1,
/// <summary>The HTTP Server API sends a 503 response with a detailed reason phrase. The HTTP Server closes the TCP connection after sending the response, so the client has to re-connect.</summary>
Http503ResponseVerbosityFull = 2,
}
}
}
|