| File: _generated\52\Windows.Win32.HTTP_RESPONSE_V1.g.cs | Web Access |
| Project: src\aspnetcore\src\Servers\HttpSys\src\Microsoft.AspNetCore.Server.HttpSys.csproj (Microsoft.AspNetCore.Server.HttpSys) |
// ------------------------------------------------------------------------------ // <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,CS3016 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 data associated with an HTTP response.</summary> /// <remarks> /// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_response_v1">Learn more about this API from learn.microsoft.com</see>.</para> /// </remarks> [global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.296+7db75b4971.RR")] internal partial struct HTTP_RESPONSE_V1 { /// <summary>The optional logging flags change the default response behavior. These can be one of any of the <a href="https://docs.microsoft.com/windows/desktop/Http/http-response-flag--constants">HTTP_RESPONSE_FLAG</a> values.</summary> internal uint Flags; /// <summary>This member is ignored; the response is always an HTTP/1.1 response.</summary> internal winmdroot.Networking.HttpServer.HTTP_VERSION Version; /// <summary> /// <para>Numeric status code that characterizes the result of the HTTP request (for example, 200 signifying "OK" or 404 signifying "Not Found"). For more information and a list of these codes, see Section 10 of <a href="https://www.ietf.org/rfc/rfc2616.txt">RFC 2616</a>. If a request is directed to a URL that is reserved but not registered, indicating that the appropriate application to handle it is not running, then the HTTP Server API itself returns a response with status code 400, signifying "Bad Request". This is transparent to the application. A code 400 is preferred here to 503 ("Server not available") because the latter is interpreted by some smart load balancers as an indication that the server is overloaded.</para> /// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_response_v1#members">Read more on learn.microsoft.com</see>.</para> /// </summary> internal ushort StatusCode; /// <summary>Size, in bytes, of the string pointed to by the <b>pReason</b> member not including the terminating null. May be zero.</summary> internal ushort ReasonLength; /// <summary>A pointer to a human-readable, null-terminated string of printable characters that characterizes the result of the HTTP request (for example, "OK" or "Not Found").</summary> internal winmdroot.Foundation.PCSTR pReason; /// <summary> /// <para>An <a href="https://docs.microsoft.com/windows/desktop/api/http/ns-http-http_response_headers">HTTP_RESPONSE_HEADERS</a> structure that contains the headers used in this response.</para> /// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_response_v1#members">Read more on learn.microsoft.com</see>.</para> /// </summary> internal winmdroot.Networking.HttpServer.HTTP_RESPONSE_HEADERS Headers; /// <summary>A number of entity-body data blocks specified in the <b>pEntityChunks</b> array. This number cannot exceed 100. If the response has no entity body, this member must be zero.</summary> internal ushort EntityChunkCount; /// <summary> /// <para>An array of <a href="https://docs.microsoft.com/windows/desktop/api/http/ns-http-http_data_chunk">HTTP_DATA_CHUNK</a> structures that together specify all the data blocks that make up the entity body of the response.</para> /// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_response_v1#members">Read more on learn.microsoft.com</see>.</para> /// </summary> internal unsafe winmdroot.Networking.HttpServer.HTTP_DATA_CHUNK* pEntityChunks; } } }