|
// ------------------------------------------------------------------------------
// <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>Contains headers sent with an HTTP request.</summary>
/// <remarks>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_request_headers">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 partial struct HTTP_REQUEST_HEADERS
{
/// <summary>A number of unknown headers sent with the HTTP request. This number is the size of the array pointed to by the <b>pUnknownHeaders</b> member.</summary>
internal ushort UnknownHeaderCount;
/// <summary>
/// <para>A pointer to an array of <a href="https://docs.microsoft.com/windows/desktop/api/http/ns-http-http_unknown_header">HTTP_UNKNOWN_HEADER</a> structures. This array contains one structure for each of the unknown headers sent in the HTTP request.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_request_headers#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal unsafe winmdroot.Networking.HttpServer.HTTP_UNKNOWN_HEADER* pUnknownHeaders;
/// <summary>This member is reserved and must be zero.</summary>
internal ushort TrailerCount;
/// <summary>This member is reserved and must be <b>NULL</b>.</summary>
internal unsafe winmdroot.Networking.HttpServer.HTTP_UNKNOWN_HEADER* pTrailers;
/// <summary>
/// <para>Fixed-size array of <a href="https://docs.microsoft.com/windows/desktop/api/http/ns-http-http_known_header">HTTP_KNOWN_HEADER</a> structures. The <a href="https://docs.microsoft.com/windows/desktop/api/http/ne-http-http_header_id">HTTP_HEADER_ID</a> enumeration provides a mapping from header types to array indexes. If a known header of a given type is included in the HTTP request, the array element at the index that corresponds to that type specifies the header value. Those elements of the array for which no corresponding headers are present contain a zero-valued <b>RawValueLength</b> member. Use <b>RawValueLength</b> to determine the end of the header string pointed to by <b>pRawValue</b>, rather than relying on the string to have a terminating null.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_request_headers#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal winmdroot.Networking.HttpServer.__HTTP_KNOWN_HEADER_41 KnownHeaders;
}
}
}
|