|
// ------------------------------------------------------------------------------
// <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>Defines the application-specific connection timeout limits.</summary>
/// <remarks>
/// <para>This structure is used in the <a href="https://docs.microsoft.com/windows/desktop/api/http/nf-http-httpqueryserversessionproperty">HttpQueryServerSessionProperty</a>, and <a href="https://docs.microsoft.com/windows/desktop/api/http/nf-http-httpsetserversessionproperty">HttpSetServerSessionProperty</a> functions to set or query the connection timeouts. The following table lists the default timeouts. </para>
/// <para>This doc was truncated.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_timeout_limit_info#">Read more on docs.microsoft.com</see>.</para>
/// </remarks>
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.46-beta+dd815b2b9b")]
internal partial struct HTTP_TIMEOUT_LIMIT_INFO
{
/// <summary>The <a href="https://docs.microsoft.com/windows/desktop/api/http/ns-http-http_property_flags">HTTP_PROPERTY_FLAGS</a> structure that specifies whether the property is present.</summary>
internal winmdroot.Networking.HttpServer.HTTP_PROPERTY_FLAGS Flags;
/// <summary>
/// <para>The time, in seconds, allowed for the request entity body to arrive. The HTTP Server API turns on this timer when the request has an entity body. The timer expiration is initially set to the configured value. When the HTTP Server API receives additional data indications on the request, it resets the timer to give the connection another interval.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_timeout_limit_info#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal ushort EntityBody;
/// <summary>
/// <para>The time, in seconds, allowed for the HTTP Server API to drain the entity body on a Keep-Alive connection. On a Keep-Alive connection, after the application has sent a response for a request and before the request entity body has completely arrived, the HTTP Server API starts draining the remainder of the entity body to reach another potentially pipelined request from the client. If the time to drain the remaining entity body exceeds the allowed period the connection is timed out.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_timeout_limit_info#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal ushort DrainEntityBody;
/// <summary>The time, in seconds, allowed for the request to remain in the request queue before the application picks it up.</summary>
internal ushort RequestQueue;
/// <summary>
/// <para>The time, in seconds, allowed for an idle connection. This timeout is only enforced after the first request on the connection is routed to the application. For more information, see the Remarks section.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_timeout_limit_info#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal ushort IdleConnection;
/// <summary>
/// <para>The time, in seconds, allowed for the HTTP Server API to parse the request header. This timeout is only enforced after the first request on the connection is routed to the application. For more information, see the Remarks section.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_timeout_limit_info#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal ushort HeaderWait;
/// <summary>
/// <para>The minimum send rate, in bytes-per-second, for the response. The default response send rate is 150 bytes-per-second. To disable this timer, set <b>MinSendRate</b> to <b>MAXULONG</b>.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_timeout_limit_info#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal uint MinSendRate;
}
}
}
|