// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_Web_Http_Headers_2_H #define WINRT_Windows_Web_Http_Headers_2_H #include "winrt/impl/Windows.Foundation.1.h" #include "winrt/impl/Windows.Foundation.Collections.1.h" #include "winrt/impl/Windows.Globalization.1.h" #include "winrt/impl/Windows.Web.Http.1.h" #include "winrt/impl/Windows.Web.Http.Headers.1.h" WINRT_EXPORT namespace winrt::Windows::Web::Http::Headers { struct WINRT_IMPL_EMPTY_BASES HttpCacheDirectiveHeaderValueCollection : winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection, impl::require, winrt::Windows::Foundation::Collections::IVector, winrt::Windows::Foundation::IStringable> { HttpCacheDirectiveHeaderValueCollection(std::nullptr_t) noexcept {} HttpCacheDirectiveHeaderValueCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES HttpChallengeHeaderValue : winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValue, impl::require { HttpChallengeHeaderValue(std::nullptr_t) noexcept {} HttpChallengeHeaderValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValue(ptr, take_ownership_from_abi) {} explicit HttpChallengeHeaderValue(param::hstring const& scheme); HttpChallengeHeaderValue(param::hstring const& scheme, param::hstring const& token); static auto Parse(param::hstring const& input); static auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue& challengeHeaderValue); }; struct WINRT_IMPL_EMPTY_BASES HttpChallengeHeaderValueCollection : winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValueCollection, impl::require, winrt::Windows::Foundation::Collections::IVector, winrt::Windows::Foundation::IStringable> { HttpChallengeHeaderValueCollection(std::nullptr_t) noexcept {} HttpChallengeHeaderValueCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValueCollection(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES HttpConnectionOptionHeaderValue : winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValue, impl::require { HttpConnectionOptionHeaderValue(std::nullptr_t) noexcept {} HttpConnectionOptionHeaderValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValue(ptr, take_ownership_from_abi) {} explicit HttpConnectionOptionHeaderValue(param::hstring const& token); static auto Parse(param::hstring const& input); static auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValue& connectionOptionHeaderValue); }; struct WINRT_IMPL_EMPTY_BASES HttpConnectionOptionHeaderValueCollection : winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValueCollection, impl::require, winrt::Windows::Foundation::Collections::IVector, winrt::Windows::Foundation::IStringable> { HttpConnectionOptionHeaderValueCollection(std::nullptr_t) noexcept {} HttpConnectionOptionHeaderValueCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValueCollection(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES HttpContentCodingHeaderValue : winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValue, impl::require { HttpContentCodingHeaderValue(std::nullptr_t) noexcept {} HttpContentCodingHeaderValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValue(ptr, take_ownership_from_abi) {} explicit HttpContentCodingHeaderValue(param::hstring const& contentCoding); static auto Parse(param::hstring const& input); static auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValue& contentCodingHeaderValue); }; struct WINRT_IMPL_EMPTY_BASES HttpContentCodingHeaderValueCollection : winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValueCollection, impl::require, winrt::Windows::Foundation::Collections::IVector, winrt::Windows::Foundation::IStringable> { HttpContentCodingHeaderValueCollection(std::nullptr_t) noexcept {} HttpContentCodingHeaderValueCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValueCollection(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES HttpContentCodingWithQualityHeaderValue : winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValue, impl::require { HttpContentCodingWithQualityHeaderValue(std::nullptr_t) noexcept {} HttpContentCodingWithQualityHeaderValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValue(ptr, take_ownership_from_abi) {} explicit HttpContentCodingWithQualityHeaderValue(param::hstring const& contentCoding); HttpContentCodingWithQualityHeaderValue(param::hstring const& contentCoding, double quality); static auto Parse(param::hstring const& input); static auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue& contentCodingWithQualityHeaderValue); }; struct WINRT_IMPL_EMPTY_BASES HttpContentCodingWithQualityHeaderValueCollection : winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValueCollection, impl::require, winrt::Windows::Foundation::Collections::IVector, winrt::Windows::Foundation::IStringable> { HttpContentCodingWithQualityHeaderValueCollection(std::nullptr_t) noexcept {} HttpContentCodingWithQualityHeaderValueCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValueCollection(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES HttpContentDispositionHeaderValue : winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue, impl::require { HttpContentDispositionHeaderValue(std::nullptr_t) noexcept {} HttpContentDispositionHeaderValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue(ptr, take_ownership_from_abi) {} explicit HttpContentDispositionHeaderValue(param::hstring const& dispositionType); static auto Parse(param::hstring const& input); static auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue& contentDispositionHeaderValue); }; struct WINRT_IMPL_EMPTY_BASES HttpContentHeaderCollection : winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection, impl::require>, winrt::Windows::Foundation::Collections::IMap, winrt::Windows::Foundation::IStringable> { HttpContentHeaderCollection(std::nullptr_t) noexcept {} HttpContentHeaderCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection(ptr, take_ownership_from_abi) {} HttpContentHeaderCollection(); }; struct WINRT_IMPL_EMPTY_BASES HttpContentRangeHeaderValue : winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValue, impl::require { HttpContentRangeHeaderValue(std::nullptr_t) noexcept {} HttpContentRangeHeaderValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValue(ptr, take_ownership_from_abi) {} explicit HttpContentRangeHeaderValue(uint64_t length); HttpContentRangeHeaderValue(uint64_t from, uint64_t to); HttpContentRangeHeaderValue(uint64_t from, uint64_t to, uint64_t length); static auto Parse(param::hstring const& input); static auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue& contentRangeHeaderValue); }; struct WINRT_IMPL_EMPTY_BASES HttpCookiePairHeaderValue : winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValue, impl::require { HttpCookiePairHeaderValue(std::nullptr_t) noexcept {} HttpCookiePairHeaderValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValue(ptr, take_ownership_from_abi) {} explicit HttpCookiePairHeaderValue(param::hstring const& name); HttpCookiePairHeaderValue(param::hstring const& name, param::hstring const& value); static auto Parse(param::hstring const& input); static auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue& cookiePairHeaderValue); }; struct WINRT_IMPL_EMPTY_BASES HttpCookiePairHeaderValueCollection : winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValueCollection, impl::require, winrt::Windows::Foundation::Collections::IVector, winrt::Windows::Foundation::IStringable> { HttpCookiePairHeaderValueCollection(std::nullptr_t) noexcept {} HttpCookiePairHeaderValueCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValueCollection(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES HttpCredentialsHeaderValue : winrt::Windows::Web::Http::Headers::IHttpCredentialsHeaderValue, impl::require { HttpCredentialsHeaderValue(std::nullptr_t) noexcept {} HttpCredentialsHeaderValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpCredentialsHeaderValue(ptr, take_ownership_from_abi) {} explicit HttpCredentialsHeaderValue(param::hstring const& scheme); HttpCredentialsHeaderValue(param::hstring const& scheme, param::hstring const& token); static auto Parse(param::hstring const& input); static auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue& credentialsHeaderValue); }; struct WINRT_IMPL_EMPTY_BASES HttpDateOrDeltaHeaderValue : winrt::Windows::Web::Http::Headers::IHttpDateOrDeltaHeaderValue, impl::require { HttpDateOrDeltaHeaderValue(std::nullptr_t) noexcept {} HttpDateOrDeltaHeaderValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpDateOrDeltaHeaderValue(ptr, take_ownership_from_abi) {} static auto Parse(param::hstring const& input); static auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue& dateOrDeltaHeaderValue); }; struct WINRT_IMPL_EMPTY_BASES HttpExpectationHeaderValue : winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValue, impl::require { HttpExpectationHeaderValue(std::nullptr_t) noexcept {} HttpExpectationHeaderValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValue(ptr, take_ownership_from_abi) {} explicit HttpExpectationHeaderValue(param::hstring const& name); HttpExpectationHeaderValue(param::hstring const& name, param::hstring const& value); static auto Parse(param::hstring const& input); static auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue& expectationHeaderValue); }; struct WINRT_IMPL_EMPTY_BASES HttpExpectationHeaderValueCollection : winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValueCollection, impl::require, winrt::Windows::Foundation::Collections::IVector, winrt::Windows::Foundation::IStringable> { HttpExpectationHeaderValueCollection(std::nullptr_t) noexcept {} HttpExpectationHeaderValueCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValueCollection(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES HttpLanguageHeaderValueCollection : winrt::Windows::Web::Http::Headers::IHttpLanguageHeaderValueCollection, impl::require, winrt::Windows::Foundation::Collections::IVector, winrt::Windows::Foundation::IStringable> { HttpLanguageHeaderValueCollection(std::nullptr_t) noexcept {} HttpLanguageHeaderValueCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpLanguageHeaderValueCollection(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES HttpLanguageRangeWithQualityHeaderValue : winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValue, impl::require { HttpLanguageRangeWithQualityHeaderValue(std::nullptr_t) noexcept {} HttpLanguageRangeWithQualityHeaderValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValue(ptr, take_ownership_from_abi) {} explicit HttpLanguageRangeWithQualityHeaderValue(param::hstring const& languageRange); HttpLanguageRangeWithQualityHeaderValue(param::hstring const& languageRange, double quality); static auto Parse(param::hstring const& input); static auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue& languageRangeWithQualityHeaderValue); }; struct WINRT_IMPL_EMPTY_BASES HttpLanguageRangeWithQualityHeaderValueCollection : winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValueCollection, impl::require, winrt::Windows::Foundation::Collections::IVector, winrt::Windows::Foundation::IStringable> { HttpLanguageRangeWithQualityHeaderValueCollection(std::nullptr_t) noexcept {} HttpLanguageRangeWithQualityHeaderValueCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValueCollection(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES HttpMediaTypeHeaderValue : winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValue, impl::require { HttpMediaTypeHeaderValue(std::nullptr_t) noexcept {} HttpMediaTypeHeaderValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValue(ptr, take_ownership_from_abi) {} explicit HttpMediaTypeHeaderValue(param::hstring const& mediaType); static auto Parse(param::hstring const& input); static auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue& mediaTypeHeaderValue); }; struct WINRT_IMPL_EMPTY_BASES HttpMediaTypeWithQualityHeaderValue : winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue, impl::require { HttpMediaTypeWithQualityHeaderValue(std::nullptr_t) noexcept {} HttpMediaTypeWithQualityHeaderValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue(ptr, take_ownership_from_abi) {} explicit HttpMediaTypeWithQualityHeaderValue(param::hstring const& mediaType); HttpMediaTypeWithQualityHeaderValue(param::hstring const& mediaType, double quality); static auto Parse(param::hstring const& input); static auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue& mediaTypeWithQualityHeaderValue); }; struct WINRT_IMPL_EMPTY_BASES HttpMediaTypeWithQualityHeaderValueCollection : winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValueCollection, impl::require, winrt::Windows::Foundation::Collections::IVector, winrt::Windows::Foundation::IStringable> { HttpMediaTypeWithQualityHeaderValueCollection(std::nullptr_t) noexcept {} HttpMediaTypeWithQualityHeaderValueCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValueCollection(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES HttpMethodHeaderValueCollection : winrt::Windows::Web::Http::Headers::IHttpMethodHeaderValueCollection, impl::require, winrt::Windows::Foundation::Collections::IVector, winrt::Windows::Foundation::IStringable> { HttpMethodHeaderValueCollection(std::nullptr_t) noexcept {} HttpMethodHeaderValueCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpMethodHeaderValueCollection(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES HttpNameValueHeaderValue : winrt::Windows::Web::Http::Headers::IHttpNameValueHeaderValue, impl::require { HttpNameValueHeaderValue(std::nullptr_t) noexcept {} HttpNameValueHeaderValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpNameValueHeaderValue(ptr, take_ownership_from_abi) {} explicit HttpNameValueHeaderValue(param::hstring const& name); HttpNameValueHeaderValue(param::hstring const& name, param::hstring const& value); static auto Parse(param::hstring const& input); static auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue& nameValueHeaderValue); }; struct WINRT_IMPL_EMPTY_BASES HttpProductHeaderValue : winrt::Windows::Web::Http::Headers::IHttpProductHeaderValue, impl::require { HttpProductHeaderValue(std::nullptr_t) noexcept {} HttpProductHeaderValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpProductHeaderValue(ptr, take_ownership_from_abi) {} explicit HttpProductHeaderValue(param::hstring const& productName); HttpProductHeaderValue(param::hstring const& productName, param::hstring const& productVersion); static auto Parse(param::hstring const& input); static auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpProductHeaderValue& productHeaderValue); }; struct WINRT_IMPL_EMPTY_BASES HttpProductInfoHeaderValue : winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValue, impl::require { HttpProductInfoHeaderValue(std::nullptr_t) noexcept {} HttpProductInfoHeaderValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValue(ptr, take_ownership_from_abi) {} explicit HttpProductInfoHeaderValue(param::hstring const& productComment); HttpProductInfoHeaderValue(param::hstring const& productName, param::hstring const& productVersion); static auto Parse(param::hstring const& input); static auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue& productInfoHeaderValue); }; struct WINRT_IMPL_EMPTY_BASES HttpProductInfoHeaderValueCollection : winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValueCollection, impl::require, winrt::Windows::Foundation::Collections::IVector, winrt::Windows::Foundation::IStringable> { HttpProductInfoHeaderValueCollection(std::nullptr_t) noexcept {} HttpProductInfoHeaderValueCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValueCollection(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES HttpRequestHeaderCollection : winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection, impl::require>, winrt::Windows::Foundation::Collections::IMap, winrt::Windows::Foundation::IStringable> { HttpRequestHeaderCollection(std::nullptr_t) noexcept {} HttpRequestHeaderCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES HttpResponseHeaderCollection : winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection, impl::require>, winrt::Windows::Foundation::Collections::IMap, winrt::Windows::Foundation::IStringable> { HttpResponseHeaderCollection(std::nullptr_t) noexcept {} HttpResponseHeaderCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES HttpTransferCodingHeaderValue : winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValue, impl::require { HttpTransferCodingHeaderValue(std::nullptr_t) noexcept {} HttpTransferCodingHeaderValue(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValue(ptr, take_ownership_from_abi) {} explicit HttpTransferCodingHeaderValue(param::hstring const& input); static auto Parse(param::hstring const& input); static auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValue& transferCodingHeaderValue); }; struct WINRT_IMPL_EMPTY_BASES HttpTransferCodingHeaderValueCollection : winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValueCollection, impl::require, winrt::Windows::Foundation::Collections::IVector, winrt::Windows::Foundation::IStringable> { HttpTransferCodingHeaderValueCollection(std::nullptr_t) noexcept {} HttpTransferCodingHeaderValueCollection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValueCollection(ptr, take_ownership_from_abi) {} }; } #endif