winrt-Windows.System.Diagnostics.DevicePortal 3.2.1__cp314-cp314-win32.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,70 @@
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
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.applicationmodel.appservice as windows_applicationmodel_appservice
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.web.http as windows_web_http
17
+
18
+ from winrt.windows.system.diagnostics.deviceportal import DevicePortalConnectionClosedReason
19
+
20
+ Self = typing.TypeVar('Self')
21
+
22
+ @typing.final
23
+ class DevicePortalConnection_Static(winrt._winrt.IInspectable_Static):
24
+ # Windows.System.Diagnostics.DevicePortal.DevicePortalConnection Windows.System.Diagnostics.DevicePortal.DevicePortalConnection::GetForAppServiceConnection(Windows.ApplicationModel.AppService.AppServiceConnection)
25
+ def get_for_app_service_connection(cls, app_service_connection: windows_applicationmodel_appservice.AppServiceConnection, /) -> DevicePortalConnection: ...
26
+
27
+ @typing.final
28
+ class DevicePortalConnection(winrt.system.Object, metaclass=DevicePortalConnection_Static):
29
+ # Windows.Networking.Sockets.ServerMessageWebSocket Windows.System.Diagnostics.DevicePortal.DevicePortalConnection::GetServerMessageWebSocketForRequest(Windows.Web.Http.HttpRequestMessage)
30
+ def get_server_message_web_socket_for_request(self, request: windows_web_http.HttpRequestMessage, /) -> windows_networking_sockets.ServerMessageWebSocket: ...
31
+ # Windows.Networking.Sockets.ServerMessageWebSocket Windows.System.Diagnostics.DevicePortal.DevicePortalConnection::GetServerMessageWebSocketForRequest(Windows.Web.Http.HttpRequestMessage,Windows.Networking.Sockets.SocketMessageType,System.String)
32
+ def get_server_message_web_socket_for_request2(self, request: windows_web_http.HttpRequestMessage, message_type: windows_networking_sockets.SocketMessageType, protocol: str, /) -> windows_networking_sockets.ServerMessageWebSocket: ...
33
+ # Windows.Networking.Sockets.ServerMessageWebSocket Windows.System.Diagnostics.DevicePortal.DevicePortalConnection::GetServerMessageWebSocketForRequest(Windows.Web.Http.HttpRequestMessage,Windows.Networking.Sockets.SocketMessageType,System.String,System.UInt32,System.UInt32,Windows.Networking.Sockets.MessageWebSocketReceiveMode)
34
+ def get_server_message_web_socket_for_request3(self, request: windows_web_http.HttpRequestMessage, message_type: windows_networking_sockets.SocketMessageType, protocol: str, outbound_buffer_size_in_bytes: winrt.system.UInt32, max_message_size: winrt.system.UInt32, receive_mode: windows_networking_sockets.MessageWebSocketReceiveMode, /) -> windows_networking_sockets.ServerMessageWebSocket: ...
35
+ # Windows.Networking.Sockets.ServerStreamWebSocket Windows.System.Diagnostics.DevicePortal.DevicePortalConnection::GetServerStreamWebSocketForRequest(Windows.Web.Http.HttpRequestMessage)
36
+ def get_server_stream_web_socket_for_request(self, request: windows_web_http.HttpRequestMessage, /) -> windows_networking_sockets.ServerStreamWebSocket: ...
37
+ # Windows.Networking.Sockets.ServerStreamWebSocket Windows.System.Diagnostics.DevicePortal.DevicePortalConnection::GetServerStreamWebSocketForRequest(Windows.Web.Http.HttpRequestMessage,System.String,System.UInt32,System.Boolean)
38
+ def get_server_stream_web_socket_for_request2(self, request: windows_web_http.HttpRequestMessage, protocol: str, outbound_buffer_size_in_bytes: winrt.system.UInt32, no_delay: bool, /) -> windows_networking_sockets.ServerStreamWebSocket: ...
39
+ # Windows.Foundation.EventRegistrationToken Windows.System.Diagnostics.DevicePortal.DevicePortalConnection::add_Closed(Windows.Foundation.TypedEventHandler`2<Windows.System.Diagnostics.DevicePortal.DevicePortalConnection,Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedEventArgs>)
40
+ def add_closed(self, handler: windows_foundation.TypedEventHandler[DevicePortalConnection, DevicePortalConnectionClosedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
41
+ # System.Void Windows.System.Diagnostics.DevicePortal.DevicePortalConnection::remove_Closed(Windows.Foundation.EventRegistrationToken)
42
+ def remove_closed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
43
+ # Windows.Foundation.EventRegistrationToken Windows.System.Diagnostics.DevicePortal.DevicePortalConnection::add_RequestReceived(Windows.Foundation.TypedEventHandler`2<Windows.System.Diagnostics.DevicePortal.DevicePortalConnection,Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionRequestReceivedEventArgs>)
44
+ def add_request_received(self, handler: windows_foundation.TypedEventHandler[DevicePortalConnection, DevicePortalConnectionRequestReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
45
+ # System.Void Windows.System.Diagnostics.DevicePortal.DevicePortalConnection::remove_RequestReceived(Windows.Foundation.EventRegistrationToken)
46
+ def remove_request_received(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
47
+
48
+ @typing.final
49
+ class DevicePortalConnectionClosedEventArgs(winrt.system.Object):
50
+ # Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedReason Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedEventArgs::get_Reason()
51
+ @_property
52
+ def reason(self) -> DevicePortalConnectionClosedReason: ...
53
+
54
+ @typing.final
55
+ class DevicePortalConnectionRequestReceivedEventArgs(winrt.system.Object):
56
+ # Windows.Foundation.Deferral Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionRequestReceivedEventArgs::GetDeferral()
57
+ def get_deferral(self) -> windows_foundation.Deferral: ...
58
+ # Windows.Web.Http.HttpRequestMessage Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionRequestReceivedEventArgs::get_RequestMessage()
59
+ @_property
60
+ def request_message(self) -> windows_web_http.HttpRequestMessage: ...
61
+ # Windows.Web.Http.HttpResponseMessage Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionRequestReceivedEventArgs::get_ResponseMessage()
62
+ @_property
63
+ def response_message(self) -> windows_web_http.HttpResponseMessage: ...
64
+ # System.Boolean Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionRequestReceivedEventArgs::get_IsWebSocketUpgradeRequest()
65
+ @_property
66
+ def is_web_socket_upgrade_request(self) -> bool: ...
67
+ # Windows.Foundation.Collections.IVectorView`1<System.String> Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionRequestReceivedEventArgs::get_WebSocketProtocolsRequested()
68
+ @_property
69
+ def web_socket_protocols_requested(self) -> typing.Sequence[str]: ...
70
+
@@ -0,0 +1,26 @@
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_system_diagnostics_deviceportal import (
7
+ DevicePortalConnection,
8
+ DevicePortalConnectionClosedEventArgs,
9
+ DevicePortalConnectionRequestReceivedEventArgs,
10
+ )
11
+
12
+ __all__ = [
13
+ "DevicePortalConnectionClosedReason",
14
+ "DevicePortalConnection",
15
+ "DevicePortalConnectionClosedEventArgs",
16
+ "DevicePortalConnectionRequestReceivedEventArgs",
17
+ ]
18
+
19
+ class DevicePortalConnectionClosedReason(enum.IntEnum):
20
+ UNKNOWN = 0
21
+ RESOURCE_LIMITS_EXCEEDED = 1
22
+ PROTOCOL_ERROR = 2
23
+ NOT_AUTHORIZED = 3
24
+ USER_NOT_PRESENT = 4
25
+ SERVICE_TERMINATED = 5
26
+
File without changes
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.4
2
+ Name: winrt-Windows.System.Diagnostics.DevicePortal
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.ApplicationModel.AppService[all]~=3.2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Networking.Sockets[all]~=3.2.1.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.Web.Http[all]~=3.2.1.0; extra == "all"
22
+
23
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
24
+
25
+ # winrt-Windows.System.Diagnostics.DevicePortal
26
+
27
+ Windows Runtime (WinRT) APIs for for the `Windows.System.Diagnostics.DevicePortal` namespace.
28
+
29
+ This package provides the `winrt.windows.system.diagnostics.deviceportal` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_system_diagnostics_deviceportal.cp314-win32.pyd,sha256=SAmRQlrQXecmXC6MuFTU-cudQRyjCsK6Gl424K0LJac,90112
2
+ winrt/_winrt_windows_system_diagnostics_deviceportal.pyi,sha256=Rd8HsFO6AoWwdHJCLbdhFeuNYOzX4mU1vn8UrrtAXSs,6890
3
+ winrt/windows/system/diagnostics/deviceportal/__init__.py,sha256=guliSch-179btKkZsOdutnSFNEbmrKbGrXSGhKxBaBo,697
4
+ winrt/windows/system/diagnostics/deviceportal/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_system_diagnostics_deviceportal-3.2.1.dist-info/METADATA,sha256=kXvr9d90ZChOT-_KrPUFh6PgsgEi6f1V_rFAL2uLnXc,1432
6
+ winrt_windows_system_diagnostics_deviceportal-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
7
+ winrt_windows_system_diagnostics_deviceportal-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_system_diagnostics_deviceportal-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-win32
5
+