|
// ------------------------------------------------------------------------------
// <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 transfer rate of a response.</summary>
/// <remarks>
/// <para>This structure allows an HTTP Server application to maximize the network bandwidth use by throttling down the transfer rate of an HTTP response. This is especially useful in serving media content where the initial burst of the content is served at a higher transfer rate and then throttled. This allows content from a larger number of media to be served concurrently. </para>
/// <para>This doc was truncated.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_flowrate_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_FLOWRATE_INFO
{
/// <summary>An <a href="https://docs.microsoft.com/windows/desktop/api/http/ns-http-http_property_flags">HTTP_PROPERTY_FLAGS</a> structure specifying whether the property is present.</summary>
internal winmdroot.Networking.HttpServer.HTTP_PROPERTY_FLAGS Flags;
/// <summary>The maximum bandwidth represented in bytes/second. This is the maximum bandwidth for the response after the burst content, whose size is specified in <b>BurstSize</b>, has been sent.</summary>
internal uint MaxBandwidth;
/// <summary>The peak bandwidth represented in bytes/second. This is the maximum bandwidth at which the burst is delivered.</summary>
internal uint MaxPeakBandwidth;
/// <summary>The size of the content, in bytes, to be delivered at <b>MaxPeakBandwidth</b>. Once this content has been delivered, the response is throttled at <b>MaxBandwidth</b>. If the HTTP Server application sends responses at a rate slower than <b>MaxBandwidth</b>, the response is subject to burst again at <b>MaxPeakBandwidth</b> to maximize bandwidth utilization.</summary>
internal uint BurstSize;
}
}
}
|