winrt-Windows.Web.Http.Filters 3.2.1__cp314-cp314-win_arm64.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,162 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+ from abc import abstractmethod
10
+
11
+ import winrt._winrt
12
+ import winrt.system
13
+ import winrt.windows.foundation as windows_foundation
14
+ import winrt.windows.foundation.collections as windows_foundation_collections
15
+ import winrt.windows.networking.sockets as windows_networking_sockets
16
+ import winrt.windows.security.credentials as windows_security_credentials
17
+ import winrt.windows.security.cryptography.certificates as windows_security_cryptography_certificates
18
+ import winrt.windows.system as windows_system
19
+ import winrt.windows.web.http as windows_web_http
20
+
21
+ from winrt.windows.web.http.filters import HttpCacheReadBehavior, HttpCacheWriteBehavior, HttpCookieUsageBehavior
22
+
23
+ Self = typing.TypeVar('Self')
24
+
25
+ @typing.final
26
+ class HttpBaseProtocolFilter_Static(winrt._winrt.IInspectable_Static):
27
+ # Windows.Web.Http.Filters.HttpBaseProtocolFilter Windows.Web.Http.Filters.HttpBaseProtocolFilter::CreateForUser(Windows.System.User)
28
+ def create_for_user(cls, user: windows_system.User, /) -> HttpBaseProtocolFilter: ...
29
+
30
+ @typing.final
31
+ class HttpBaseProtocolFilter(winrt.system.Object, IHttpFilter, windows_foundation.IClosable, metaclass=HttpBaseProtocolFilter_Static):
32
+ def __enter__(self: Self) -> Self: ...
33
+ def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
34
+ def __new__(cls: typing.Type[Self]) -> Self: ...
35
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::ClearAuthenticationCache()
36
+ def clear_authentication_cache(self) -> None: ...
37
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::Close()
38
+ def close(self) -> None: ...
39
+ # Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpResponseMessage,Windows.Web.Http.HttpProgress> Windows.Web.Http.Filters.HttpBaseProtocolFilter::SendRequestAsync(Windows.Web.Http.HttpRequestMessage)
40
+ def send_request_async(self, request: windows_web_http.HttpRequestMessage, /) -> windows_foundation.IAsyncOperationWithProgress[windows_web_http.HttpResponseMessage, windows_web_http.HttpProgress]: ...
41
+ # Windows.Foundation.EventRegistrationToken Windows.Web.Http.Filters.HttpBaseProtocolFilter::add_ServerCustomValidationRequested(Windows.Foundation.TypedEventHandler`2<Windows.Web.Http.Filters.HttpBaseProtocolFilter,Windows.Web.Http.Filters.HttpServerCustomValidationRequestedEventArgs>)
42
+ def add_server_custom_validation_requested(self, handler: windows_foundation.TypedEventHandler[HttpBaseProtocolFilter, HttpServerCustomValidationRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
43
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::remove_ServerCustomValidationRequested(Windows.Foundation.EventRegistrationToken)
44
+ def remove_server_custom_validation_requested(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
45
+ # System.Boolean Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_UseProxy()
46
+ @_property
47
+ def use_proxy(self) -> bool: ...
48
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::put_UseProxy(System.Boolean)
49
+ @use_proxy.setter
50
+ def use_proxy(self, value: bool) -> None: ...
51
+ # Windows.Security.Credentials.PasswordCredential Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_ServerCredential()
52
+ @_property
53
+ def server_credential(self) -> windows_security_credentials.PasswordCredential: ...
54
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::put_ServerCredential(Windows.Security.Credentials.PasswordCredential)
55
+ @server_credential.setter
56
+ def server_credential(self, value: windows_security_credentials.PasswordCredential) -> None: ...
57
+ # Windows.Security.Credentials.PasswordCredential Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_ProxyCredential()
58
+ @_property
59
+ def proxy_credential(self) -> windows_security_credentials.PasswordCredential: ...
60
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::put_ProxyCredential(Windows.Security.Credentials.PasswordCredential)
61
+ @proxy_credential.setter
62
+ def proxy_credential(self, value: windows_security_credentials.PasswordCredential) -> None: ...
63
+ # System.UInt32 Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_MaxConnectionsPerServer()
64
+ @_property
65
+ def max_connections_per_server(self) -> winrt.system.UInt32: ...
66
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::put_MaxConnectionsPerServer(System.UInt32)
67
+ @max_connections_per_server.setter
68
+ def max_connections_per_server(self, value: winrt.system.UInt32) -> None: ...
69
+ # Windows.Security.Cryptography.Certificates.Certificate Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_ClientCertificate()
70
+ @_property
71
+ def client_certificate(self) -> windows_security_cryptography_certificates.Certificate: ...
72
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::put_ClientCertificate(Windows.Security.Cryptography.Certificates.Certificate)
73
+ @client_certificate.setter
74
+ def client_certificate(self, value: windows_security_cryptography_certificates.Certificate) -> None: ...
75
+ # System.Boolean Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_AutomaticDecompression()
76
+ @_property
77
+ def automatic_decompression(self) -> bool: ...
78
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::put_AutomaticDecompression(System.Boolean)
79
+ @automatic_decompression.setter
80
+ def automatic_decompression(self, value: bool) -> None: ...
81
+ # System.Boolean Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_AllowUI()
82
+ @_property
83
+ def allow_ui(self) -> bool: ...
84
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::put_AllowUI(System.Boolean)
85
+ @allow_ui.setter
86
+ def allow_ui(self, value: bool) -> None: ...
87
+ # System.Boolean Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_AllowAutoRedirect()
88
+ @_property
89
+ def allow_auto_redirect(self) -> bool: ...
90
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::put_AllowAutoRedirect(System.Boolean)
91
+ @allow_auto_redirect.setter
92
+ def allow_auto_redirect(self, value: bool) -> None: ...
93
+ # Windows.Web.Http.Filters.HttpCacheControl Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_CacheControl()
94
+ @_property
95
+ def cache_control(self) -> HttpCacheControl: ...
96
+ # Windows.Web.Http.HttpCookieManager Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_CookieManager()
97
+ @_property
98
+ def cookie_manager(self) -> windows_web_http.HttpCookieManager: ...
99
+ # Windows.Foundation.Collections.IVector`1<Windows.Security.Cryptography.Certificates.ChainValidationResult> Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_IgnorableServerCertificateErrors()
100
+ @_property
101
+ def ignorable_server_certificate_errors(self) -> typing.MutableSequence[windows_security_cryptography_certificates.ChainValidationResult]: ...
102
+ # Windows.Web.Http.HttpVersion Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_MaxVersion()
103
+ @_property
104
+ def max_version(self) -> windows_web_http.HttpVersion: ...
105
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::put_MaxVersion(Windows.Web.Http.HttpVersion)
106
+ @max_version.setter
107
+ def max_version(self, value: windows_web_http.HttpVersion) -> None: ...
108
+ # Windows.Web.Http.Filters.HttpCookieUsageBehavior Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_CookieUsageBehavior()
109
+ @_property
110
+ def cookie_usage_behavior(self) -> HttpCookieUsageBehavior: ...
111
+ # System.Void Windows.Web.Http.Filters.HttpBaseProtocolFilter::put_CookieUsageBehavior(Windows.Web.Http.Filters.HttpCookieUsageBehavior)
112
+ @cookie_usage_behavior.setter
113
+ def cookie_usage_behavior(self, value: HttpCookieUsageBehavior) -> None: ...
114
+ # Windows.System.User Windows.Web.Http.Filters.HttpBaseProtocolFilter::get_User()
115
+ @_property
116
+ def user(self) -> windows_system.User: ...
117
+
118
+ @typing.final
119
+ class HttpCacheControl(winrt.system.Object):
120
+ # Windows.Web.Http.Filters.HttpCacheWriteBehavior Windows.Web.Http.Filters.HttpCacheControl::get_WriteBehavior()
121
+ @_property
122
+ def write_behavior(self) -> HttpCacheWriteBehavior: ...
123
+ # System.Void Windows.Web.Http.Filters.HttpCacheControl::put_WriteBehavior(Windows.Web.Http.Filters.HttpCacheWriteBehavior)
124
+ @write_behavior.setter
125
+ def write_behavior(self, value: HttpCacheWriteBehavior) -> None: ...
126
+ # Windows.Web.Http.Filters.HttpCacheReadBehavior Windows.Web.Http.Filters.HttpCacheControl::get_ReadBehavior()
127
+ @_property
128
+ def read_behavior(self) -> HttpCacheReadBehavior: ...
129
+ # System.Void Windows.Web.Http.Filters.HttpCacheControl::put_ReadBehavior(Windows.Web.Http.Filters.HttpCacheReadBehavior)
130
+ @read_behavior.setter
131
+ def read_behavior(self, value: HttpCacheReadBehavior) -> None: ...
132
+
133
+ @typing.final
134
+ class HttpServerCustomValidationRequestedEventArgs(winrt.system.Object):
135
+ # Windows.Foundation.Deferral Windows.Web.Http.Filters.HttpServerCustomValidationRequestedEventArgs::GetDeferral()
136
+ def get_deferral(self) -> windows_foundation.Deferral: ...
137
+ # System.Void Windows.Web.Http.Filters.HttpServerCustomValidationRequestedEventArgs::Reject()
138
+ def reject(self) -> None: ...
139
+ # Windows.Web.Http.HttpRequestMessage Windows.Web.Http.Filters.HttpServerCustomValidationRequestedEventArgs::get_RequestMessage()
140
+ @_property
141
+ def request_message(self) -> windows_web_http.HttpRequestMessage: ...
142
+ # Windows.Security.Cryptography.Certificates.Certificate Windows.Web.Http.Filters.HttpServerCustomValidationRequestedEventArgs::get_ServerCertificate()
143
+ @_property
144
+ def server_certificate(self) -> windows_security_cryptography_certificates.Certificate: ...
145
+ # Windows.Networking.Sockets.SocketSslErrorSeverity Windows.Web.Http.Filters.HttpServerCustomValidationRequestedEventArgs::get_ServerCertificateErrorSeverity()
146
+ @_property
147
+ def server_certificate_error_severity(self) -> windows_networking_sockets.SocketSslErrorSeverity: ...
148
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Security.Cryptography.Certificates.ChainValidationResult> Windows.Web.Http.Filters.HttpServerCustomValidationRequestedEventArgs::get_ServerCertificateErrors()
149
+ @_property
150
+ def server_certificate_errors(self) -> typing.Sequence[windows_security_cryptography_certificates.ChainValidationResult]: ...
151
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Security.Cryptography.Certificates.Certificate> Windows.Web.Http.Filters.HttpServerCustomValidationRequestedEventArgs::get_ServerIntermediateCertificates()
152
+ @_property
153
+ def server_intermediate_certificates(self) -> typing.Sequence[windows_security_cryptography_certificates.Certificate]: ...
154
+
155
+ @typing.final
156
+ class _IHttpFilter: ...
157
+
158
+ class IHttpFilter(windows_foundation.IClosable, winrt._winrt.IInspectable):
159
+ # Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpResponseMessage,Windows.Web.Http.HttpProgress> Windows.Web.Http.Filters.IHttpFilter::SendRequestAsync(Windows.Web.Http.HttpRequestMessage)
160
+ @abstractmethod
161
+ def send_request_async(self, request: windows_web_http.HttpRequestMessage, /) -> windows_foundation.IAsyncOperationWithProgress[windows_web_http.HttpResponseMessage, windows_web_http.HttpProgress]: ...
162
+
@@ -0,0 +1,37 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt._winrt_windows_web_http_filters import (
7
+ HttpBaseProtocolFilter,
8
+ HttpCacheControl,
9
+ HttpServerCustomValidationRequestedEventArgs,
10
+ _IHttpFilter,
11
+ IHttpFilter,
12
+ )
13
+
14
+ __all__ = [
15
+ "HttpCacheReadBehavior",
16
+ "HttpCacheWriteBehavior",
17
+ "HttpCookieUsageBehavior",
18
+ "HttpBaseProtocolFilter",
19
+ "HttpCacheControl",
20
+ "HttpServerCustomValidationRequestedEventArgs",
21
+ "IHttpFilter",
22
+ ]
23
+
24
+ class HttpCacheReadBehavior(enum.IntEnum):
25
+ DEFAULT = 0
26
+ MOST_RECENT = 1
27
+ ONLY_FROM_CACHE = 2
28
+ NO_CACHE = 3
29
+
30
+ class HttpCacheWriteBehavior(enum.IntEnum):
31
+ DEFAULT = 0
32
+ NO_CACHE = 1
33
+
34
+ class HttpCookieUsageBehavior(enum.IntEnum):
35
+ DEFAULT = 0
36
+ NO_COOKIES = 1
37
+
File without changes
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.4
2
+ Name: winrt-Windows.Web.Http.Filters
3
+ Version: 3.2.1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License-Expression: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: >=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime~=3.2.1.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Networking.Sockets[all]~=3.2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Security.Credentials[all]~=3.2.1.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.Security.Cryptography.Certificates[all]~=3.2.1.0; extra == "all"
22
+ Requires-Dist: winrt-Windows.System[all]~=3.2.1.0; extra == "all"
23
+ Requires-Dist: winrt-Windows.Web.Http[all]~=3.2.1.0; extra == "all"
24
+
25
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
26
+
27
+ # winrt-Windows.Web.Http.Filters
28
+
29
+ Windows Runtime (WinRT) APIs for for the `Windows.Web.Http.Filters` namespace.
30
+
31
+ This package provides the `winrt.windows.web.http.filters` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_web_http_filters.cp314-win_arm64.pyd,sha256=2k1QuO46Ka9mIZySmy7G-MRwym2jR1h3HY8If3ce9Qw,176128
2
+ winrt/_winrt_windows_web_http_filters.pyi,sha256=Qg5nOnXs_WaBgG8C9YostLaTpTt96Wtb5giL9oNxiPw,11520
3
+ winrt/windows/web/http/filters/__init__.py,sha256=-ie6hYJIH9I7AKiLPIVdID8sOnHTjTtedC4i9hbn0uk,814
4
+ winrt/windows/web/http/filters/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_web_http_filters-3.2.1.dist-info/METADATA,sha256=9g_GG6yrCl-BdNSgYqmmCA0YcE4zMKs6BNH5a77oGqM,1527
6
+ winrt_windows_web_http_filters-3.2.1.dist-info/WHEEL,sha256=bMXkUWfr_3hlaRObp_pv9_U0ksvQo0T0Mwq6lQkXaZc,101
7
+ winrt_windows_web_http_filters-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_web_http_filters-3.2.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314-win_arm64
5
+