// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_Web_Http_0_H #define WINRT_Windows_Web_Http_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { struct HResult; template struct WINRT_IMPL_EMPTY_BASES IReference; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct WINRT_IMPL_EMPTY_BASES IIterable; template struct WINRT_IMPL_EMPTY_BASES IKeyValuePair; template struct WINRT_IMPL_EMPTY_BASES IVectorView; } WINRT_EXPORT namespace winrt::Windows::Networking::Sockets { enum class SocketSslErrorSeverity : int32_t; } WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Certificates { struct Certificate; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IBuffer; struct IInputStream; struct IOutputStream; enum class UnicodeEncoding : int32_t; } WINRT_EXPORT namespace winrt::Windows::Web::Http::Filters { struct IHttpFilter; } WINRT_EXPORT namespace winrt::Windows::Web::Http::Headers { struct HttpContentHeaderCollection; struct HttpRequestHeaderCollection; struct HttpResponseHeaderCollection; } WINRT_EXPORT namespace winrt::Windows::Web::Http { enum class HttpCompletionOption : int32_t { ResponseContentRead = 0, ResponseHeadersRead = 1, }; enum class HttpProgressStage : int32_t { None = 0, DetectingProxy = 10, ResolvingName = 20, ConnectingToServer = 30, NegotiatingSsl = 40, SendingHeaders = 50, SendingContent = 60, WaitingForResponse = 70, ReceivingHeaders = 80, ReceivingContent = 90, }; enum class HttpResponseMessageSource : int32_t { None = 0, Cache = 1, Network = 2, }; enum class HttpStatusCode : int32_t { None = 0, Continue = 100, SwitchingProtocols = 101, Processing = 102, Ok = 200, Created = 201, Accepted = 202, NonAuthoritativeInformation = 203, NoContent = 204, ResetContent = 205, PartialContent = 206, MultiStatus = 207, AlreadyReported = 208, IMUsed = 226, MultipleChoices = 300, MovedPermanently = 301, Found = 302, SeeOther = 303, NotModified = 304, UseProxy = 305, TemporaryRedirect = 307, PermanentRedirect = 308, BadRequest = 400, Unauthorized = 401, PaymentRequired = 402, Forbidden = 403, NotFound = 404, MethodNotAllowed = 405, NotAcceptable = 406, ProxyAuthenticationRequired = 407, RequestTimeout = 408, Conflict = 409, Gone = 410, LengthRequired = 411, PreconditionFailed = 412, RequestEntityTooLarge = 413, RequestUriTooLong = 414, UnsupportedMediaType = 415, RequestedRangeNotSatisfiable = 416, ExpectationFailed = 417, UnprocessableEntity = 422, Locked = 423, FailedDependency = 424, UpgradeRequired = 426, PreconditionRequired = 428, TooManyRequests = 429, RequestHeaderFieldsTooLarge = 431, InternalServerError = 500, NotImplemented = 501, BadGateway = 502, ServiceUnavailable = 503, GatewayTimeout = 504, HttpVersionNotSupported = 505, VariantAlsoNegotiates = 506, InsufficientStorage = 507, LoopDetected = 508, NotExtended = 510, NetworkAuthenticationRequired = 511, }; enum class HttpVersion : int32_t { None = 0, Http10 = 1, Http11 = 2, Http20 = 3, }; struct IHttpBufferContentFactory; struct IHttpClient; struct IHttpClient2; struct IHttpClient3; struct IHttpClientFactory; struct IHttpContent; struct IHttpCookie; struct IHttpCookieFactory; struct IHttpCookieManager; struct IHttpFormUrlEncodedContentFactory; struct IHttpGetBufferResult; struct IHttpGetInputStreamResult; struct IHttpGetStringResult; struct IHttpMethod; struct IHttpMethodFactory; struct IHttpMethodStatics; struct IHttpMultipartContent; struct IHttpMultipartContentFactory; struct IHttpMultipartFormDataContent; struct IHttpMultipartFormDataContentFactory; struct IHttpRequestMessage; struct IHttpRequestMessage2; struct IHttpRequestMessageFactory; struct IHttpRequestResult; struct IHttpResponseMessage; struct IHttpResponseMessageFactory; struct IHttpStreamContentFactory; struct IHttpStringContentFactory; struct IHttpTransportInformation; struct HttpBufferContent; struct HttpClient; struct HttpCookie; struct HttpCookieCollection; struct HttpCookieManager; struct HttpFormUrlEncodedContent; struct HttpGetBufferResult; struct HttpGetInputStreamResult; struct HttpGetStringResult; struct HttpMethod; struct HttpMultipartContent; struct HttpMultipartFormDataContent; struct HttpRequestMessage; struct HttpRequestResult; struct HttpResponseMessage; struct HttpStreamContent; struct HttpStringContent; struct HttpTransportInformation; struct HttpProgress; } namespace winrt::impl { template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = struct_category, uint64_t, winrt::Windows::Foundation::IReference, uint32_t>; }; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpBufferContent"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpClient"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpCookie"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpCookieCollection"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpCookieManager"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpFormUrlEncodedContent"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpGetBufferResult"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpGetInputStreamResult"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpGetStringResult"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpMethod"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpMultipartContent"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpMultipartFormDataContent"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpRequestMessage"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpRequestResult"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpResponseMessage"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpStreamContent"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpStringContent"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpTransportInformation"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpCompletionOption"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpProgressStage"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpResponseMessageSource"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpStatusCode"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpVersion"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.HttpProgress"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpBufferContentFactory"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpClient"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpClient2"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpClient3"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpClientFactory"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpContent"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpCookie"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpCookieFactory"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpCookieManager"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpFormUrlEncodedContentFactory"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpGetBufferResult"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpGetInputStreamResult"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpGetStringResult"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpMethod"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpMethodFactory"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpMethodStatics"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpMultipartContent"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpMultipartContentFactory"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpMultipartFormDataContent"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpMultipartFormDataContentFactory"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpRequestMessage"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpRequestMessage2"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpRequestMessageFactory"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpRequestResult"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpResponseMessage"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpResponseMessageFactory"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpStreamContentFactory"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpStringContentFactory"; template <> inline constexpr auto& name_v = L"Windows.Web.Http.IHttpTransportInformation"; template <> inline constexpr guid guid_v{ 0xBC20C193,0xC41F,0x4FF7,{ 0x91,0x23,0x64,0x35,0x73,0x6E,0xAD,0xC2 } }; // BC20C193-C41F-4FF7-9123-6435736EADC2 template <> inline constexpr guid guid_v{ 0x7FDA1151,0x3574,0x4880,{ 0xA8,0xBA,0xE6,0xB1,0xE0,0x06,0x1F,0x3D } }; // 7FDA1151-3574-4880-A8BA-E6B1E0061F3D template <> inline constexpr guid guid_v{ 0xCDD83348,0xE8B7,0x4CEC,{ 0xB1,0xB0,0xDC,0x45,0x5F,0xE7,0x2C,0x92 } }; // CDD83348-E8B7-4CEC-B1B0-DC455FE72C92 template <> inline constexpr guid guid_v{ 0x1172FD01,0x9899,0x4194,{ 0x96,0x3F,0x8F,0x9D,0x72,0xA7,0xEC,0x15 } }; // 1172FD01-9899-4194-963F-8F9D72A7EC15 template <> inline constexpr guid guid_v{ 0xC30C4ECA,0xE3FA,0x4F99,{ 0xAF,0xB4,0x63,0xCC,0x65,0x00,0x94,0x62 } }; // C30C4ECA-E3FA-4F99-AFB4-63CC65009462 template <> inline constexpr guid guid_v{ 0x6B14A441,0xFBA7,0x4BD2,{ 0xAF,0x0A,0x83,0x9D,0xE7,0xC2,0x95,0xDA } }; // 6B14A441-FBA7-4BD2-AF0A-839DE7C295DA template <> inline constexpr guid guid_v{ 0x1F5488E2,0xCC2D,0x4779,{ 0x86,0xA7,0x88,0xF1,0x06,0x87,0xD2,0x49 } }; // 1F5488E2-CC2D-4779-86A7-88F10687D249 template <> inline constexpr guid guid_v{ 0x6A0585A9,0x931C,0x4CD1,{ 0xA9,0x6D,0xC2,0x17,0x01,0x78,0x5C,0x5F } }; // 6A0585A9-931C-4CD1-A96D-C21701785C5F template <> inline constexpr guid guid_v{ 0x7A431780,0xCD4F,0x4E57,{ 0xA8,0x4A,0x5B,0x0A,0x53,0xD6,0xBB,0x96 } }; // 7A431780-CD4F-4E57-A84A-5B0A53D6BB96 template <> inline constexpr guid guid_v{ 0x43F0138C,0x2F73,0x4302,{ 0xB5,0xF3,0xEA,0xE9,0x23,0x8A,0x5E,0x01 } }; // 43F0138C-2F73-4302-B5F3-EAE9238A5E01 template <> inline constexpr guid guid_v{ 0x53D08E7C,0xE209,0x404E,{ 0x9A,0x49,0x74,0x2D,0x82,0x36,0xFD,0x3A } }; // 53D08E7C-E209-404E-9A49-742D8236FD3A template <> inline constexpr guid guid_v{ 0xD5D63463,0x13AA,0x4EE0,{ 0xBE,0x95,0xA0,0xC3,0x9F,0xE9,0x12,0x03 } }; // D5D63463-13AA-4EE0-BE95-A0C39FE91203 template <> inline constexpr guid guid_v{ 0x9BAC466D,0x8509,0x4775,{ 0xB1,0x6D,0x89,0x53,0xF4,0x7A,0x7F,0x5F } }; // 9BAC466D-8509-4775-B16D-8953F47A7F5F template <> inline constexpr guid guid_v{ 0x728D4022,0x700D,0x4FE0,{ 0xAF,0xA5,0x40,0x29,0x9C,0x58,0xDB,0xFD } }; // 728D4022-700D-4FE0-AFA5-40299C58DBFD template <> inline constexpr guid guid_v{ 0x3C51D10D,0x36D7,0x40F8,{ 0xA8,0x6D,0xE7,0x59,0xCA,0xF2,0xF8,0x3F } }; // 3C51D10D-36D7-40F8-A86D-E759CAF2F83F template <> inline constexpr guid guid_v{ 0x64D171F0,0xD99A,0x4153,{ 0x8D,0xC6,0xD6,0x8C,0xC4,0xCC,0xE3,0x17 } }; // 64D171F0-D99A-4153-8DC6-D68CC4CCE317 template <> inline constexpr guid guid_v{ 0xDF916AFF,0x9926,0x4AC9,{ 0xAA,0xF1,0xE0,0xD0,0x4E,0xF0,0x9B,0xB9 } }; // DF916AFF-9926-4AC9-AAF1-E0D04EF09BB9 template <> inline constexpr guid guid_v{ 0x7EB42E62,0x0222,0x4F20,{ 0xB3,0x72,0x47,0xD5,0xDB,0x5D,0x33,0xB4 } }; // 7EB42E62-0222-4F20-B372-47D5DB5D33B4 template <> inline constexpr guid guid_v{ 0x64D337E2,0xE967,0x4624,{ 0xB6,0xD1,0xCF,0x74,0x60,0x4A,0x4A,0x42 } }; // 64D337E2-E967-4624-B6D1-CF74604A4A42 template <> inline constexpr guid guid_v{ 0xA04D7311,0x5017,0x4622,{ 0x93,0xA8,0x49,0xB2,0x4A,0x4F,0xCB,0xFC } }; // A04D7311-5017-4622-93A8-49B24A4FCBFC template <> inline constexpr guid guid_v{ 0xF5762B3C,0x74D4,0x4811,{ 0xB5,0xDC,0x9F,0x8B,0x4E,0x2F,0x9A,0xBF } }; // F5762B3C-74D4-4811-B5DC-9F8B4E2F9ABF template <> inline constexpr guid guid_v{ 0xC3C60489,0x62C2,0x4A3F,{ 0x95,0x54,0x22,0x6E,0x7C,0x60,0xBD,0x96 } }; // C3C60489-62C2-4A3F-9554-226E7C60BD96 template <> inline constexpr guid guid_v{ 0x5BAC994E,0x3886,0x412E,{ 0xAE,0xC3,0x52,0xEC,0x7F,0x25,0x61,0x6F } }; // 5BAC994E-3886-412E-AEC3-52EC7F25616F template <> inline constexpr guid guid_v{ 0x6ACF4DA8,0xB5EB,0x4A35,{ 0xA9,0x02,0x42,0x17,0xFB,0xE8,0x20,0xC5 } }; // 6ACF4DA8-B5EB-4A35-A902-4217FBE820C5 template <> inline constexpr guid guid_v{ 0xFEE200FB,0x8664,0x44E0,{ 0x95,0xD9,0x42,0x69,0x61,0x99,0xBF,0xFC } }; // FEE200FB-8664-44E0-95D9-42696199BFFC template <> inline constexpr guid guid_v{ 0x52A8AF99,0xF095,0x43DA,{ 0xB6,0x0F,0x7C,0xFC,0x2B,0xC7,0xEA,0x2F } }; // 52A8AF99-F095-43DA-B60F-7CFC2BC7EA2F template <> inline constexpr guid guid_v{ 0xF3E64D9D,0xF725,0x407E,{ 0x94,0x2F,0x0E,0xDA,0x18,0x98,0x09,0xF4 } }; // F3E64D9D-F725-407E-942F-0EDA189809F4 template <> inline constexpr guid guid_v{ 0x46649D5B,0x2E93,0x48EB,{ 0x8E,0x61,0x19,0x67,0x78,0x78,0xE5,0x7F } }; // 46649D5B-2E93-48EB-8E61-19677878E57F template <> inline constexpr guid guid_v{ 0x70127198,0xC6A7,0x4ED0,{ 0x83,0x3A,0x83,0xFD,0x8B,0x8F,0x17,0x8D } }; // 70127198-C6A7-4ED0-833A-83FD8B8F178D template <> struct default_interface{ using type = winrt::Windows::Web::Http::IHttpContent; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::IHttpClient; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::IHttpCookie; }; template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IVectorView; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::IHttpCookieManager; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::IHttpContent; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::IHttpGetBufferResult; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::IHttpGetInputStreamResult; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::IHttpGetStringResult; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::IHttpMethod; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::IHttpContent; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::IHttpContent; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::IHttpRequestMessage; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::IHttpRequestResult; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::IHttpResponseMessage; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::IHttpContent; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::IHttpContent; }; template <> struct default_interface{ using type = winrt::Windows::Web::Http::IHttpTransportInformation; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall CreateFromBuffer(void*, void**) noexcept = 0; virtual int32_t __stdcall CreateFromBufferWithOffset(void*, uint32_t, uint32_t, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall DeleteAsync(void*, void**) noexcept = 0; virtual int32_t __stdcall GetAsync(void*, void**) noexcept = 0; virtual int32_t __stdcall GetWithOptionAsync(void*, int32_t, void**) noexcept = 0; virtual int32_t __stdcall GetBufferAsync(void*, void**) noexcept = 0; virtual int32_t __stdcall GetInputStreamAsync(void*, void**) noexcept = 0; virtual int32_t __stdcall GetStringAsync(void*, void**) noexcept = 0; virtual int32_t __stdcall PostAsync(void*, void*, void**) noexcept = 0; virtual int32_t __stdcall PutAsync(void*, void*, void**) noexcept = 0; virtual int32_t __stdcall SendRequestAsync(void*, void**) noexcept = 0; virtual int32_t __stdcall SendRequestWithOptionAsync(void*, int32_t, void**) noexcept = 0; virtual int32_t __stdcall get_DefaultRequestHeaders(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall TryDeleteAsync(void*, void**) noexcept = 0; virtual int32_t __stdcall TryGetAsync(void*, void**) noexcept = 0; virtual int32_t __stdcall TryGetAsync2(void*, int32_t, void**) noexcept = 0; virtual int32_t __stdcall TryGetBufferAsync(void*, void**) noexcept = 0; virtual int32_t __stdcall TryGetInputStreamAsync(void*, void**) noexcept = 0; virtual int32_t __stdcall TryGetStringAsync(void*, void**) noexcept = 0; virtual int32_t __stdcall TryPostAsync(void*, void*, void**) noexcept = 0; virtual int32_t __stdcall TryPutAsync(void*, void*, void**) noexcept = 0; virtual int32_t __stdcall TrySendRequestAsync(void*, void**) noexcept = 0; virtual int32_t __stdcall TrySendRequestAsync2(void*, int32_t, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_DefaultPrivacyAnnotation(void**) noexcept = 0; virtual int32_t __stdcall put_DefaultPrivacyAnnotation(void*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall Create(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Headers(void**) noexcept = 0; virtual int32_t __stdcall BufferAllAsync(void**) noexcept = 0; virtual int32_t __stdcall ReadAsBufferAsync(void**) noexcept = 0; virtual int32_t __stdcall ReadAsInputStreamAsync(void**) noexcept = 0; virtual int32_t __stdcall ReadAsStringAsync(void**) noexcept = 0; virtual int32_t __stdcall TryComputeLength(uint64_t*, bool*) noexcept = 0; virtual int32_t __stdcall WriteToStreamAsync(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Name(void**) noexcept = 0; virtual int32_t __stdcall get_Domain(void**) noexcept = 0; virtual int32_t __stdcall get_Path(void**) noexcept = 0; virtual int32_t __stdcall get_Expires(void**) noexcept = 0; virtual int32_t __stdcall put_Expires(void*) noexcept = 0; virtual int32_t __stdcall get_HttpOnly(bool*) noexcept = 0; virtual int32_t __stdcall put_HttpOnly(bool) noexcept = 0; virtual int32_t __stdcall get_Secure(bool*) noexcept = 0; virtual int32_t __stdcall put_Secure(bool) noexcept = 0; virtual int32_t __stdcall get_Value(void**) noexcept = 0; virtual int32_t __stdcall put_Value(void*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall Create(void*, void*, void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall SetCookie(void*, bool*) noexcept = 0; virtual int32_t __stdcall SetCookieWithThirdParty(void*, bool, bool*) noexcept = 0; virtual int32_t __stdcall DeleteCookie(void*) noexcept = 0; virtual int32_t __stdcall GetCookies(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall Create(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; virtual int32_t __stdcall get_RequestMessage(void**) noexcept = 0; virtual int32_t __stdcall get_ResponseMessage(void**) noexcept = 0; virtual int32_t __stdcall get_Succeeded(bool*) noexcept = 0; virtual int32_t __stdcall get_Value(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; virtual int32_t __stdcall get_RequestMessage(void**) noexcept = 0; virtual int32_t __stdcall get_ResponseMessage(void**) noexcept = 0; virtual int32_t __stdcall get_Succeeded(bool*) noexcept = 0; virtual int32_t __stdcall get_Value(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; virtual int32_t __stdcall get_RequestMessage(void**) noexcept = 0; virtual int32_t __stdcall get_ResponseMessage(void**) noexcept = 0; virtual int32_t __stdcall get_Succeeded(bool*) noexcept = 0; virtual int32_t __stdcall get_Value(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Method(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall Create(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Delete(void**) noexcept = 0; virtual int32_t __stdcall get_Get(void**) noexcept = 0; virtual int32_t __stdcall get_Head(void**) noexcept = 0; virtual int32_t __stdcall get_Options(void**) noexcept = 0; virtual int32_t __stdcall get_Patch(void**) noexcept = 0; virtual int32_t __stdcall get_Post(void**) noexcept = 0; virtual int32_t __stdcall get_Put(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall Add(void*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall CreateWithSubtype(void*, void**) noexcept = 0; virtual int32_t __stdcall CreateWithSubtypeAndBoundary(void*, void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall Add(void*) noexcept = 0; virtual int32_t __stdcall AddWithName(void*, void*) noexcept = 0; virtual int32_t __stdcall AddWithNameAndFileName(void*, void*, void*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall CreateWithBoundary(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Content(void**) noexcept = 0; virtual int32_t __stdcall put_Content(void*) noexcept = 0; virtual int32_t __stdcall get_Headers(void**) noexcept = 0; virtual int32_t __stdcall get_Method(void**) noexcept = 0; virtual int32_t __stdcall put_Method(void*) noexcept = 0; virtual int32_t __stdcall get_Properties(void**) noexcept = 0; virtual int32_t __stdcall get_RequestUri(void**) noexcept = 0; virtual int32_t __stdcall put_RequestUri(void*) noexcept = 0; virtual int32_t __stdcall get_TransportInformation(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_PrivacyAnnotation(void**) noexcept = 0; virtual int32_t __stdcall put_PrivacyAnnotation(void*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall Create(void*, void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; virtual int32_t __stdcall get_RequestMessage(void**) noexcept = 0; virtual int32_t __stdcall get_ResponseMessage(void**) noexcept = 0; virtual int32_t __stdcall get_Succeeded(bool*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Content(void**) noexcept = 0; virtual int32_t __stdcall put_Content(void*) noexcept = 0; virtual int32_t __stdcall get_Headers(void**) noexcept = 0; virtual int32_t __stdcall get_IsSuccessStatusCode(bool*) noexcept = 0; virtual int32_t __stdcall get_ReasonPhrase(void**) noexcept = 0; virtual int32_t __stdcall put_ReasonPhrase(void*) noexcept = 0; virtual int32_t __stdcall get_RequestMessage(void**) noexcept = 0; virtual int32_t __stdcall put_RequestMessage(void*) noexcept = 0; virtual int32_t __stdcall get_Source(int32_t*) noexcept = 0; virtual int32_t __stdcall put_Source(int32_t) noexcept = 0; virtual int32_t __stdcall get_StatusCode(int32_t*) noexcept = 0; virtual int32_t __stdcall put_StatusCode(int32_t) noexcept = 0; virtual int32_t __stdcall get_Version(int32_t*) noexcept = 0; virtual int32_t __stdcall put_Version(int32_t) noexcept = 0; virtual int32_t __stdcall EnsureSuccessStatusCode(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall Create(int32_t, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall CreateFromInputStream(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall CreateFromString(void*, void**) noexcept = 0; virtual int32_t __stdcall CreateFromStringWithEncoding(void*, int32_t, void**) noexcept = 0; virtual int32_t __stdcall CreateFromStringWithEncodingAndMediaType(void*, int32_t, void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_ServerCertificate(void**) noexcept = 0; virtual int32_t __stdcall get_ServerCertificateErrorSeverity(int32_t*) noexcept = 0; virtual int32_t __stdcall get_ServerCertificateErrors(void**) noexcept = 0; virtual int32_t __stdcall get_ServerIntermediateCertificates(void**) noexcept = 0; }; }; template struct consume_Windows_Web_Http_IHttpBufferContentFactory { auto CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& content) const; auto CreateFromBufferWithOffset(winrt::Windows::Storage::Streams::IBuffer const& content, uint32_t offset, uint32_t count) const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpBufferContentFactory; }; template struct consume_Windows_Web_Http_IHttpClient { auto DeleteAsync(winrt::Windows::Foundation::Uri const& uri) const; auto GetAsync(winrt::Windows::Foundation::Uri const& uri) const; auto GetAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const; auto GetBufferAsync(winrt::Windows::Foundation::Uri const& uri) const; auto GetInputStreamAsync(winrt::Windows::Foundation::Uri const& uri) const; auto GetStringAsync(winrt::Windows::Foundation::Uri const& uri) const; auto PostAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const; auto PutAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const; auto SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const; auto SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const; [[nodiscard]] auto DefaultRequestHeaders() const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpClient; }; template struct consume_Windows_Web_Http_IHttpClient2 { auto TryDeleteAsync(winrt::Windows::Foundation::Uri const& uri) const; auto TryGetAsync(winrt::Windows::Foundation::Uri const& uri) const; auto TryGetAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const; auto TryGetBufferAsync(winrt::Windows::Foundation::Uri const& uri) const; auto TryGetInputStreamAsync(winrt::Windows::Foundation::Uri const& uri) const; auto TryGetStringAsync(winrt::Windows::Foundation::Uri const& uri) const; auto TryPostAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const; auto TryPutAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const; auto TrySendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const; auto TrySendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpClient2; }; template struct consume_Windows_Web_Http_IHttpClient3 { [[nodiscard]] auto DefaultPrivacyAnnotation() const; auto DefaultPrivacyAnnotation(param::hstring const& value) const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpClient3; }; template struct consume_Windows_Web_Http_IHttpClientFactory { auto Create(winrt::Windows::Web::Http::Filters::IHttpFilter const& filter) const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpClientFactory; }; template struct consume_Windows_Web_Http_IHttpContent { [[nodiscard]] auto Headers() const; auto BufferAllAsync() const; auto ReadAsBufferAsync() const; auto ReadAsInputStreamAsync() const; auto ReadAsStringAsync() const; auto TryComputeLength(uint64_t& length) const; auto WriteToStreamAsync(winrt::Windows::Storage::Streams::IOutputStream const& outputStream) const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpContent; }; template struct consume_Windows_Web_Http_IHttpCookie { [[nodiscard]] auto Name() const; [[nodiscard]] auto Domain() const; [[nodiscard]] auto Path() const; [[nodiscard]] auto Expires() const; auto Expires(winrt::Windows::Foundation::IReference const& value) const; [[nodiscard]] auto HttpOnly() const; auto HttpOnly(bool value) const; [[nodiscard]] auto Secure() const; auto Secure(bool value) const; [[nodiscard]] auto Value() const; auto Value(param::hstring const& value) const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpCookie; }; template struct consume_Windows_Web_Http_IHttpCookieFactory { auto Create(param::hstring const& name, param::hstring const& domain, param::hstring const& path) const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpCookieFactory; }; template struct consume_Windows_Web_Http_IHttpCookieManager { auto SetCookie(winrt::Windows::Web::Http::HttpCookie const& cookie) const; auto SetCookie(winrt::Windows::Web::Http::HttpCookie const& cookie, bool thirdParty) const; auto DeleteCookie(winrt::Windows::Web::Http::HttpCookie const& cookie) const; auto GetCookies(winrt::Windows::Foundation::Uri const& uri) const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpCookieManager; }; template struct consume_Windows_Web_Http_IHttpFormUrlEncodedContentFactory { auto Create(param::iterable> const& content) const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpFormUrlEncodedContentFactory; }; template struct consume_Windows_Web_Http_IHttpGetBufferResult { [[nodiscard]] auto ExtendedError() const; [[nodiscard]] auto RequestMessage() const; [[nodiscard]] auto ResponseMessage() const; [[nodiscard]] auto Succeeded() const; [[nodiscard]] auto Value() const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpGetBufferResult; }; template struct consume_Windows_Web_Http_IHttpGetInputStreamResult { [[nodiscard]] auto ExtendedError() const; [[nodiscard]] auto RequestMessage() const; [[nodiscard]] auto ResponseMessage() const; [[nodiscard]] auto Succeeded() const; [[nodiscard]] auto Value() const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpGetInputStreamResult; }; template struct consume_Windows_Web_Http_IHttpGetStringResult { [[nodiscard]] auto ExtendedError() const; [[nodiscard]] auto RequestMessage() const; [[nodiscard]] auto ResponseMessage() const; [[nodiscard]] auto Succeeded() const; [[nodiscard]] auto Value() const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpGetStringResult; }; template struct consume_Windows_Web_Http_IHttpMethod { [[nodiscard]] auto Method() const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpMethod; }; template struct consume_Windows_Web_Http_IHttpMethodFactory { auto Create(param::hstring const& method) const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpMethodFactory; }; template struct consume_Windows_Web_Http_IHttpMethodStatics { [[nodiscard]] auto Delete() const; [[nodiscard]] auto Get() const; [[nodiscard]] auto Head() const; [[nodiscard]] auto Options() const; [[nodiscard]] auto Patch() const; [[nodiscard]] auto Post() const; [[nodiscard]] auto Put() const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpMethodStatics; }; template struct consume_Windows_Web_Http_IHttpMultipartContent { auto Add(winrt::Windows::Web::Http::IHttpContent const& content) const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpMultipartContent; }; template struct consume_Windows_Web_Http_IHttpMultipartContentFactory { auto CreateWithSubtype(param::hstring const& subtype) const; auto CreateWithSubtypeAndBoundary(param::hstring const& subtype, param::hstring const& boundary) const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpMultipartContentFactory; }; template struct consume_Windows_Web_Http_IHttpMultipartFormDataContent { auto Add(winrt::Windows::Web::Http::IHttpContent const& content) const; auto Add(winrt::Windows::Web::Http::IHttpContent const& content, param::hstring const& name) const; auto Add(winrt::Windows::Web::Http::IHttpContent const& content, param::hstring const& name, param::hstring const& fileName) const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpMultipartFormDataContent; }; template struct consume_Windows_Web_Http_IHttpMultipartFormDataContentFactory { auto CreateWithBoundary(param::hstring const& boundary) const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpMultipartFormDataContentFactory; }; template struct consume_Windows_Web_Http_IHttpRequestMessage { [[nodiscard]] auto Content() const; auto Content(winrt::Windows::Web::Http::IHttpContent const& value) const; [[nodiscard]] auto Headers() const; [[nodiscard]] auto Method() const; auto Method(winrt::Windows::Web::Http::HttpMethod const& value) const; [[nodiscard]] auto Properties() const; [[nodiscard]] auto RequestUri() const; auto RequestUri(winrt::Windows::Foundation::Uri const& value) const; [[nodiscard]] auto TransportInformation() const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpRequestMessage; }; template struct consume_Windows_Web_Http_IHttpRequestMessage2 { [[nodiscard]] auto PrivacyAnnotation() const; auto PrivacyAnnotation(param::hstring const& value) const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpRequestMessage2; }; template struct consume_Windows_Web_Http_IHttpRequestMessageFactory { auto Create(winrt::Windows::Web::Http::HttpMethod const& method, winrt::Windows::Foundation::Uri const& uri) const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpRequestMessageFactory; }; template struct consume_Windows_Web_Http_IHttpRequestResult { [[nodiscard]] auto ExtendedError() const; [[nodiscard]] auto RequestMessage() const; [[nodiscard]] auto ResponseMessage() const; [[nodiscard]] auto Succeeded() const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpRequestResult; }; template struct consume_Windows_Web_Http_IHttpResponseMessage { [[nodiscard]] auto Content() const; auto Content(winrt::Windows::Web::Http::IHttpContent const& value) const; [[nodiscard]] auto Headers() const; [[nodiscard]] auto IsSuccessStatusCode() const; [[nodiscard]] auto ReasonPhrase() const; auto ReasonPhrase(param::hstring const& value) const; [[nodiscard]] auto RequestMessage() const; auto RequestMessage(winrt::Windows::Web::Http::HttpRequestMessage const& value) const; [[nodiscard]] auto Source() const; auto Source(winrt::Windows::Web::Http::HttpResponseMessageSource const& value) const; [[nodiscard]] auto StatusCode() const; auto StatusCode(winrt::Windows::Web::Http::HttpStatusCode const& value) const; [[nodiscard]] auto Version() const; auto Version(winrt::Windows::Web::Http::HttpVersion const& value) const; auto EnsureSuccessStatusCode() const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpResponseMessage; }; template struct consume_Windows_Web_Http_IHttpResponseMessageFactory { auto Create(winrt::Windows::Web::Http::HttpStatusCode const& statusCode) const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpResponseMessageFactory; }; template struct consume_Windows_Web_Http_IHttpStreamContentFactory { auto CreateFromInputStream(winrt::Windows::Storage::Streams::IInputStream const& content) const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpStreamContentFactory; }; template struct consume_Windows_Web_Http_IHttpStringContentFactory { auto CreateFromString(param::hstring const& content) const; auto CreateFromStringWithEncoding(param::hstring const& content, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; auto CreateFromStringWithEncodingAndMediaType(param::hstring const& content, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding, param::hstring const& mediaType) const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpStringContentFactory; }; template struct consume_Windows_Web_Http_IHttpTransportInformation { [[nodiscard]] auto ServerCertificate() const; [[nodiscard]] auto ServerCertificateErrorSeverity() const; [[nodiscard]] auto ServerCertificateErrors() const; [[nodiscard]] auto ServerIntermediateCertificates() const; }; template <> struct consume { template using type = consume_Windows_Web_Http_IHttpTransportInformation; }; struct struct_Windows_Web_Http_HttpProgress { int32_t Stage; uint64_t BytesSent; void* TotalBytesToSend; uint64_t BytesReceived; void* TotalBytesToReceive; uint32_t Retries; }; template <> struct abi { using type = struct_Windows_Web_Http_HttpProgress; }; } #endif