winrt-Windows.Web.Http.Filters 4!10.0.28000.2705__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,17 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import winrt.runtime._internals
4
+ import winrt.system
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
7
+
8
+ __all__ = [
9
+ "HttpCacheReadBehavior",
10
+ "HttpCacheWriteBehavior",
11
+ "HttpCookieUsageBehavior",
12
+ "HttpBaseProtocolFilter",
13
+ "HttpCacheControl",
14
+ "HttpServerCustomValidationRequestedEventArgs",
15
+ "IHttpFilter",
16
+ ]
17
+
@@ -0,0 +1,181 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import collections.abc as _cabc
4
+ import enum
5
+ import types
6
+ import typing
7
+ from builtins import property as _property
8
+ from abc import abstractmethod
9
+
10
+ import winrt.system
11
+ import winrt.windows.foundation as windows_foundation
12
+ import winrt.windows.foundation.collections as windows_foundation_collections
13
+ import winrt.windows.networking.sockets as windows_networking_sockets
14
+ import winrt.windows.security.credentials as windows_security_credentials
15
+ import winrt.windows.security.cryptography.certificates as windows_security_cryptography_certificates
16
+ import winrt.windows.system as windows_system
17
+ import winrt.windows.web.http as windows_web_http
18
+
19
+ __all__ = [
20
+ "HttpCacheReadBehavior",
21
+ "HttpCacheWriteBehavior",
22
+ "HttpCookieUsageBehavior",
23
+ "HttpBaseProtocolFilter",
24
+ "HttpCacheControl",
25
+ "HttpServerCustomValidationRequestedEventArgs",
26
+ "IHttpFilter",
27
+ ]
28
+
29
+ class HttpCacheReadBehavior(enum.IntEnum):
30
+ DEFAULT = 0
31
+ MOST_RECENT = 1
32
+ ONLY_FROM_CACHE = 2
33
+ NO_CACHE = 3
34
+
35
+ class HttpCacheWriteBehavior(enum.IntEnum):
36
+ DEFAULT = 0
37
+ NO_CACHE = 1
38
+
39
+ class HttpCookieUsageBehavior(enum.IntEnum):
40
+ DEFAULT = 0
41
+ NO_COOKIES = 1
42
+
43
+ @typing.final
44
+ class HttpBaseProtocolFilter_Static(winrt.system.Object_Static):
45
+ # Windows.Web.Http.Filters.HttpBaseProtocolFilter Windows.Web.Http.Filters.HttpBaseProtocolFilter::CreateForUser(Windows.System.User)
46
+ def create_for_user(cls, user: windows_system.User, /) -> HttpBaseProtocolFilter: ...
47
+
48
+ @typing.final
49
+ class HttpBaseProtocolFilter(IHttpFilter, windows_foundation.IClosable, winrt.system.Object, metaclass=HttpBaseProtocolFilter_Static):
50
+ def __enter__(self) -> typing.Self: ...
51
+ def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: types.TracebackType | None) -> None: ...
52
+ def __new__(cls) -> typing.Self: ...
53
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::ClearAuthenticationCache()
54
+ def clear_authentication_cache(self) -> None: ...
55
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::Close()
56
+ def close(self) -> None: ...
57
+ # Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpResponseMessage,Windows.Web.Http.HttpProgress> Windows.Web.Http.Filters.HttpBaseProtocolFilter::SendRequestAsync(Windows.Web.Http.HttpRequestMessage)
58
+ def send_request_async(self, request: windows_web_http.HttpRequestMessage, /) -> windows_foundation.IAsyncOperationWithProgress[windows_web_http.HttpResponseMessage, windows_web_http.HttpProgress]: ...
59
+ # Windows.Foundation.EventRegistrationToken Windows.Web.Http.Filters.HttpBaseProtocolFilter::add_ServerCustomValidationRequested(Windows.Foundation.TypedEventHandler`2<Windows.Web.Http.Filters.HttpBaseProtocolFilter,Windows.Web.Http.Filters.HttpServerCustomValidationRequestedEventArgs>)
60
+ def add_server_custom_validation_requested(self, handler: windows_foundation.TypedEventHandler[HttpBaseProtocolFilter, HttpServerCustomValidationRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
61
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::remove_ServerCustomValidationRequested(Windows.Foundation.EventRegistrationToken)
62
+ def remove_server_custom_validation_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
63
+ # System.Boolean Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_UseProxy()
64
+ @_property
65
+ def use_proxy(self) -> bool: ...
66
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::put_UseProxy(System.Boolean)
67
+ @use_proxy.setter
68
+ def use_proxy(self, value: bool) -> None: ...
69
+ # Windows.Security.Credentials.PasswordCredential Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_ServerCredential()
70
+ @_property
71
+ def server_credential(self) -> windows_security_credentials.PasswordCredential: ...
72
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::put_ServerCredential(Windows.Security.Credentials.PasswordCredential)
73
+ @server_credential.setter
74
+ def server_credential(self, value: windows_security_credentials.PasswordCredential) -> None: ...
75
+ # Windows.Security.Credentials.PasswordCredential Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_ProxyCredential()
76
+ @_property
77
+ def proxy_credential(self) -> windows_security_credentials.PasswordCredential: ...
78
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::put_ProxyCredential(Windows.Security.Credentials.PasswordCredential)
79
+ @proxy_credential.setter
80
+ def proxy_credential(self, value: windows_security_credentials.PasswordCredential) -> None: ...
81
+ # System.UInt32 Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_MaxConnectionsPerServer()
82
+ @_property
83
+ def max_connections_per_server(self) -> winrt.system.UInt32: ...
84
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::put_MaxConnectionsPerServer(System.UInt32)
85
+ @max_connections_per_server.setter
86
+ def max_connections_per_server(self, value: winrt.system.UInt32 | typing.SupportsIndex) -> None: ...
87
+ # Windows.Security.Cryptography.Certificates.Certificate Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_ClientCertificate()
88
+ @_property
89
+ def client_certificate(self) -> windows_security_cryptography_certificates.Certificate: ...
90
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::put_ClientCertificate(Windows.Security.Cryptography.Certificates.Certificate)
91
+ @client_certificate.setter
92
+ def client_certificate(self, value: windows_security_cryptography_certificates.Certificate) -> None: ...
93
+ # System.Boolean Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_AutomaticDecompression()
94
+ @_property
95
+ def automatic_decompression(self) -> bool: ...
96
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::put_AutomaticDecompression(System.Boolean)
97
+ @automatic_decompression.setter
98
+ def automatic_decompression(self, value: bool) -> None: ...
99
+ # System.Boolean Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_AllowUI()
100
+ @_property
101
+ def allow_ui(self) -> bool: ...
102
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::put_AllowUI(System.Boolean)
103
+ @allow_ui.setter
104
+ def allow_ui(self, value: bool) -> None: ...
105
+ # System.Boolean Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_AllowAutoRedirect()
106
+ @_property
107
+ def allow_auto_redirect(self) -> bool: ...
108
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::put_AllowAutoRedirect(System.Boolean)
109
+ @allow_auto_redirect.setter
110
+ def allow_auto_redirect(self, value: bool) -> None: ...
111
+ # Windows.Web.Http.Filters.HttpCacheControl Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_CacheControl()
112
+ @_property
113
+ def cache_control(self) -> HttpCacheControl: ...
114
+ # Windows.Web.Http.HttpCookieManager Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_CookieManager()
115
+ @_property
116
+ def cookie_manager(self) -> windows_web_http.HttpCookieManager: ...
117
+ # Windows.Foundation.Collections.IVector`1<Windows.Security.Cryptography.Certificates.ChainValidationResult> Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_IgnorableServerCertificateErrors()
118
+ @_property
119
+ def ignorable_server_certificate_errors(self) -> _cabc.MutableSequence[windows_security_cryptography_certificates.ChainValidationResult]: ...
120
+ # Windows.Web.Http.HttpVersion Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_MaxVersion()
121
+ @_property
122
+ def max_version(self) -> windows_web_http.HttpVersion: ...
123
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::put_MaxVersion(Windows.Web.Http.HttpVersion)
124
+ @max_version.setter
125
+ def max_version(self, value: windows_web_http.HttpVersion) -> None: ...
126
+ # Windows.Web.Http.Filters.HttpCookieUsageBehavior Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_CookieUsageBehavior()
127
+ @_property
128
+ def cookie_usage_behavior(self) -> HttpCookieUsageBehavior: ...
129
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::put_CookieUsageBehavior(Windows.Web.Http.Filters.HttpCookieUsageBehavior)
130
+ @cookie_usage_behavior.setter
131
+ def cookie_usage_behavior(self, value: HttpCookieUsageBehavior) -> None: ...
132
+ # Windows.System.User Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_User()
133
+ @_property
134
+ def user(self) -> windows_system.User: ...
135
+
136
+ @typing.final
137
+ class HttpCacheControl(winrt.system.Object):
138
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
139
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
140
+ # Windows.Web.Http.Filters.HttpCacheWriteBehavior Windows.Web.Http.Filters.HttpCacheControl::get_WriteBehavior()
141
+ @_property
142
+ def write_behavior(self) -> HttpCacheWriteBehavior: ...
143
+ # System.Void Windows.Web.Http.Filters.HttpCacheControl::put_WriteBehavior(Windows.Web.Http.Filters.HttpCacheWriteBehavior)
144
+ @write_behavior.setter
145
+ def write_behavior(self, value: HttpCacheWriteBehavior) -> None: ...
146
+ # Windows.Web.Http.Filters.HttpCacheReadBehavior Windows.Web.Http.Filters.HttpCacheControl::get_ReadBehavior()
147
+ @_property
148
+ def read_behavior(self) -> HttpCacheReadBehavior: ...
149
+ # System.Void Windows.Web.Http.Filters.HttpCacheControl::put_ReadBehavior(Windows.Web.Http.Filters.HttpCacheReadBehavior)
150
+ @read_behavior.setter
151
+ def read_behavior(self, value: HttpCacheReadBehavior) -> None: ...
152
+
153
+ @typing.final
154
+ class HttpServerCustomValidationRequestedEventArgs(winrt.system.Object):
155
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
156
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
157
+ # Windows.Foundation.Deferral Windows.Web.Http.Filters.HttpServerCustomValidationRequestedEventArgs::GetDeferral()
158
+ def get_deferral(self) -> windows_foundation.Deferral: ...
159
+ # System.Void Windows.Web.Http.Filters.HttpServerCustomValidationRequestedEventArgs::Reject()
160
+ def reject(self) -> None: ...
161
+ # Windows.Web.Http.HttpRequestMessage Windows.Web.Http.Filters.HttpServerCustomValidationRequestedEventArgs::get_RequestMessage()
162
+ @_property
163
+ def request_message(self) -> windows_web_http.HttpRequestMessage: ...
164
+ # Windows.Security.Cryptography.Certificates.Certificate Windows.Web.Http.Filters.HttpServerCustomValidationRequestedEventArgs::get_ServerCertificate()
165
+ @_property
166
+ def server_certificate(self) -> windows_security_cryptography_certificates.Certificate: ...
167
+ # Windows.Networking.Sockets.SocketSslErrorSeverity Windows.Web.Http.Filters.HttpServerCustomValidationRequestedEventArgs::get_ServerCertificateErrorSeverity()
168
+ @_property
169
+ def server_certificate_error_severity(self) -> windows_networking_sockets.SocketSslErrorSeverity: ...
170
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Security.Cryptography.Certificates.ChainValidationResult> Windows.Web.Http.Filters.HttpServerCustomValidationRequestedEventArgs::get_ServerCertificateErrors()
171
+ @_property
172
+ def server_certificate_errors(self) -> _cabc.Sequence[windows_security_cryptography_certificates.ChainValidationResult]: ...
173
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Security.Cryptography.Certificates.Certificate> Windows.Web.Http.Filters.HttpServerCustomValidationRequestedEventArgs::get_ServerIntermediateCertificates()
174
+ @_property
175
+ def server_intermediate_certificates(self) -> _cabc.Sequence[windows_security_cryptography_certificates.Certificate]: ...
176
+
177
+ class IHttpFilter(windows_foundation.IClosable, winrt.system.Object):
178
+ # Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpResponseMessage,Windows.Web.Http.HttpProgress> Windows.Web.Http.Filters.IHttpFilter::SendRequestAsync(Windows.Web.Http.HttpRequestMessage)
179
+ @abstractmethod
180
+ def send_request_async(self, request: windows_web_http.HttpRequestMessage, /) -> windows_foundation.IAsyncOperationWithProgress[windows_web_http.HttpResponseMessage, windows_web_http.HttpProgress]: ...
181
+
File without changes
@@ -0,0 +1,51 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.Web.Http.Filters
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.Web.Http.Filters namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
24
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
25
+ Provides-Extra: all
26
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
27
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-networking-sockets[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Requires-Dist: winrt-windows-security-credentials[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Requires-Dist: winrt-windows-security-cryptography-certificates[all]>=4!10.0.28000.2705; extra == 'all'
31
+ Requires-Dist: winrt-windows-system[all]>=4!10.0.28000.2705; extra == 'all'
32
+ Requires-Dist: winrt-windows-web-http[all]>=4!10.0.28000.2705; extra == 'all'
33
+ Description-Content-Type: text/markdown
34
+
35
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
36
+
37
+ # winrt-Windows.Web.Http.Filters
38
+
39
+ Windows Runtime (WinRT) APIs for the `Windows.Web.Http.Filters` namespace.
40
+
41
+ This package provides the `winrt.windows.web.http.filters` module.
42
+
43
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
44
+ `Microsoft.Windows.SDK.CPP` NuGet package.
45
+
46
+ ```
47
+ pip install winrt-Windows.Web.Http.Filters
48
+ ```
49
+
50
+ Other WinRT namespaces are packages of their own, so install the package of
51
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/web/http/filters/__init__.py,sha256=LKw7_QZ1BuA4ox_66hJy-pX6ZMKtDwFjmVjmirM7a2Q,409
2
+ winrt/windows/web/http/filters/__init__.pyi,sha256=Kv3Fxm_aK15-DIepF-5zt3WfI9SQe4EI0z6EEfSV2LY,12070
3
+ winrt/windows/web/http/filters/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/web/http/filters/_table.pywinrt,sha256=d2JNB0NAZkOT9xJC8uFKS2s5hlQNRl3v1wSo54f8vzA,19848
5
+ winrt_windows_web_http_filters-4!10.0.28000.2705.dist-info/METADATA,sha256=Bf6i4GzdJwPLxgp3yJrDUdN8xRskz9HgkaMfuIpeQ2Q,2389
6
+ winrt_windows_web_http_filters-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_web_http_filters-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_web_http_filters-4!10.0.28000.2705.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE