winrt-Windows.System.Diagnostics.DevicePortal 3.2.1__tar.gz → 4!10.0.28000.2957__tar.gz

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.
Files changed (24) hide show
  1. winrt_windows_system_diagnostics_deviceportal-4!10.0.28000.2957/.gitignore +5 -0
  2. winrt_windows_system_diagnostics_deviceportal-4!10.0.28000.2957/LICENSE +22 -0
  3. winrt_windows_system_diagnostics_deviceportal-4!10.0.28000.2957/PKG-INFO +49 -0
  4. winrt_windows_system_diagnostics_deviceportal-4!10.0.28000.2957/README.md +17 -0
  5. winrt_windows_system_diagnostics_deviceportal-4!10.0.28000.2957/pyproject.toml +61 -0
  6. winrt_windows_system_diagnostics_deviceportal-4!10.0.28000.2957/winrt/windows/system/diagnostics/deviceportal/__init__.py +17 -0
  7. winrt_windows_system_diagnostics_deviceportal-3.2.1/winrt/_winrt_windows_system_diagnostics_deviceportal.pyi → winrt_windows_system_diagnostics_deviceportal-4!10.0.28000.2957/winrt/windows/system/diagnostics/deviceportal/__init__.pyi +46 -14
  8. winrt_windows_system_diagnostics_deviceportal-4!10.0.28000.2957/winrt/windows/system/diagnostics/deviceportal/_table.pywinrt.txt +241 -0
  9. winrt_windows_system_diagnostics_deviceportal-3.2.1/PKG-INFO +0 -29
  10. winrt_windows_system_diagnostics_deviceportal-3.2.1/README.md +0 -7
  11. winrt_windows_system_diagnostics_deviceportal-3.2.1/all-requirements.txt +0 -7
  12. winrt_windows_system_diagnostics_deviceportal-3.2.1/py.Windows.System.Diagnostics.DevicePortal.cpp +0 -898
  13. winrt_windows_system_diagnostics_deviceportal-3.2.1/pyproject.toml +0 -47
  14. winrt_windows_system_diagnostics_deviceportal-3.2.1/pywinrt-version.txt +0 -1
  15. winrt_windows_system_diagnostics_deviceportal-3.2.1/requirements.txt +0 -3
  16. winrt_windows_system_diagnostics_deviceportal-3.2.1/setup.cfg +0 -4
  17. winrt_windows_system_diagnostics_deviceportal-3.2.1/setup.py +0 -33
  18. winrt_windows_system_diagnostics_deviceportal-3.2.1/winrt/windows/system/diagnostics/deviceportal/__init__.py +0 -26
  19. winrt_windows_system_diagnostics_deviceportal-3.2.1/winrt_Windows.System.Diagnostics.DevicePortal.egg-info/PKG-INFO +0 -29
  20. winrt_windows_system_diagnostics_deviceportal-3.2.1/winrt_Windows.System.Diagnostics.DevicePortal.egg-info/SOURCES.txt +0 -15
  21. winrt_windows_system_diagnostics_deviceportal-3.2.1/winrt_Windows.System.Diagnostics.DevicePortal.egg-info/dependency_links.txt +0 -1
  22. winrt_windows_system_diagnostics_deviceportal-3.2.1/winrt_Windows.System.Diagnostics.DevicePortal.egg-info/requires.txt +0 -8
  23. winrt_windows_system_diagnostics_deviceportal-3.2.1/winrt_Windows.System.Diagnostics.DevicePortal.egg-info/top_level.txt +0 -1
  24. {winrt_windows_system_diagnostics_deviceportal-3.2.1 → winrt_windows_system_diagnostics_deviceportal-4!10.0.28000.2957}/winrt/windows/system/diagnostics/deviceportal/py.typed +0 -0
@@ -0,0 +1,5 @@
1
+ *.egg-info
2
+ *.tar.gz
3
+ *.whl
4
+ build/
5
+ dist/
@@ -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
@@ -0,0 +1,49 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.System.Diagnostics.DevicePortal
3
+ Version: 4!10.0.28000.2957
4
+ Summary: PyWinRT projection of the Windows.System.Diagnostics.DevicePortal 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.2957
24
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2957
25
+ Provides-Extra: all
26
+ Requires-Dist: winrt-windows-applicationmodel-appservice[all]>=4!10.0.28000.2957; extra == 'all'
27
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2957; extra == 'all'
28
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2957; extra == 'all'
29
+ Requires-Dist: winrt-windows-networking-sockets[all]>=4!10.0.28000.2957; extra == 'all'
30
+ Requires-Dist: winrt-windows-web-http[all]>=4!10.0.28000.2957; extra == 'all'
31
+ Description-Content-Type: text/markdown
32
+
33
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
34
+
35
+ # winrt-Windows.System.Diagnostics.DevicePortal
36
+
37
+ Windows Runtime (WinRT) APIs for the `Windows.System.Diagnostics.DevicePortal` namespace.
38
+
39
+ This package provides the `winrt.windows.system.diagnostics.deviceportal` module.
40
+
41
+ The WinRT APIs in it are those of version 10.0.28000.2957 of the
42
+ `Microsoft.Windows.SDK.CPP` NuGet package.
43
+
44
+ ```
45
+ pip install winrt-Windows.System.Diagnostics.DevicePortal
46
+ ```
47
+
48
+ Other WinRT namespaces are packages of their own, so install the package of
49
+ each namespace your code imports from.
@@ -0,0 +1,17 @@
1
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
2
+
3
+ # winrt-Windows.System.Diagnostics.DevicePortal
4
+
5
+ Windows Runtime (WinRT) APIs for the `Windows.System.Diagnostics.DevicePortal` namespace.
6
+
7
+ This package provides the `winrt.windows.system.diagnostics.deviceportal` module.
8
+
9
+ The WinRT APIs in it are those of version 10.0.28000.2957 of the
10
+ `Microsoft.Windows.SDK.CPP` NuGet package.
11
+
12
+ ```
13
+ pip install winrt-Windows.System.Diagnostics.DevicePortal
14
+ ```
15
+
16
+ Other WinRT namespaces are packages of their own, so install the package of
17
+ each namespace your code imports from.
@@ -0,0 +1,61 @@
1
+ # WARNING: Please don't edit this file. It was automatically generated.
2
+
3
+ [build-system]
4
+ requires = ["hatchling", "winrt-table-compiler>=4.0.0,<5"]
5
+ build-backend = "hatchling.build"
6
+
7
+ [project]
8
+ name = "winrt-Windows.System.Diagnostics.DevicePortal"
9
+ version = "4!10.0.28000.2957"
10
+ description = "PyWinRT projection of the Windows.System.Diagnostics.DevicePortal namespace"
11
+ readme = "README.md"
12
+ license = "MIT"
13
+ license-files = ["LICENSE"]
14
+ classifiers = [
15
+ "Operating System :: Microsoft :: Windows",
16
+ "Programming Language :: Python :: 3",
17
+ "Programming Language :: Python :: 3.11",
18
+ "Programming Language :: Python :: 3.12",
19
+ "Programming Language :: Python :: 3.13",
20
+ "Programming Language :: Python :: 3.14",
21
+ "Programming Language :: Python :: 3.15",
22
+ "Programming Language :: Python :: Implementation :: CPython",
23
+ "Intended Audience :: Developers",
24
+ "Programming Language :: Python :: Free Threading :: 2 - Beta",
25
+ "Typing :: Typed",
26
+ ]
27
+ requires-python = ">=3.11"
28
+ dependencies = [
29
+ "winrt-runtime>=4.0.0,<5",
30
+ "winrt-Windows.Foundation>=4!10.0.28000.2957",
31
+ "winrt-Windows.Foundation.Collections>=4!10.0.28000.2957",
32
+ ]
33
+
34
+ [project.optional-dependencies]
35
+ all = [
36
+ "winrt-Windows.ApplicationModel.AppService[all]>=4!10.0.28000.2957",
37
+ "winrt-Windows.Foundation[all]>=4!10.0.28000.2957",
38
+ "winrt-Windows.Foundation.Collections[all]>=4!10.0.28000.2957",
39
+ "winrt-Windows.Networking.Sockets[all]>=4!10.0.28000.2957",
40
+ "winrt-Windows.Web.Http[all]>=4!10.0.28000.2957",
41
+ ]
42
+
43
+ [project.urls]
44
+ Documentation = "https://pywinrt.readthedocs.io"
45
+ Repository = "https://github.com/pywinrt/pywinrt"
46
+ Changelog = "https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md"
47
+
48
+ [tool.hatch.build.targets.sdist]
49
+ # The text form of the table is what the source distribution carries, and the
50
+ # compiled form is build output wherever it turns up. Hatchling reads no
51
+ # .gitignore above the package, so it has to be told about the latter.
52
+ only-include = ["winrt", "LICENSE", "README.md"]
53
+ exclude = ["**/_table.pywinrt"]
54
+
55
+ [tool.hatch.build.targets.wheel]
56
+ packages = ["winrt"]
57
+ exclude = ["**/_table.pywinrt.txt"]
58
+
59
+ # winrt.table.build_hooks in winrt-table-compiler, which compiles each table
60
+ # the package carries and puts the result beside the __init__.py that loads it.
61
+ [tool.hatch.build.targets.wheel.hooks.winrt-table-compiler]
@@ -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
+ "DevicePortalConnectionClosedReason",
10
+ "DevicePortalConnection",
11
+ "DevicePortalConnectionClosedEventArgs",
12
+ "DevicePortalConnectionRequestReceivedEventArgs",
13
+ ]
14
+
15
+ winrt.runtime._internals.alias_method(DevicePortalConnection, "get_server_message_web_socket_for_request2", "get_server_message_web_socket_for_request")
16
+ winrt.runtime._internals.alias_method(DevicePortalConnection, "get_server_message_web_socket_for_request3", "get_server_message_web_socket_for_request")
17
+ winrt.runtime._internals.alias_method(DevicePortalConnection, "get_server_stream_web_socket_for_request2", "get_server_stream_web_socket_for_request")
@@ -1,13 +1,11 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
2
 
3
- import datetime
4
- import sys
5
- import types
3
+ import collections.abc as _cabc
4
+ import enum
6
5
  import typing
7
- import uuid as _uuid
8
6
  from builtins import property as _property
7
+ from typing_extensions import deprecated
9
8
 
10
- import winrt._winrt
11
9
  import winrt.system
12
10
  import winrt.windows.applicationmodel.appservice as windows_applicationmodel_appservice
13
11
  import winrt.windows.foundation as windows_foundation
@@ -15,44 +13,78 @@ import winrt.windows.foundation.collections as windows_foundation_collections
15
13
  import winrt.windows.networking.sockets as windows_networking_sockets
16
14
  import winrt.windows.web.http as windows_web_http
17
15
 
18
- from winrt.windows.system.diagnostics.deviceportal import DevicePortalConnectionClosedReason
16
+ __all__ = [
17
+ "DevicePortalConnectionClosedReason",
18
+ "DevicePortalConnection",
19
+ "DevicePortalConnectionClosedEventArgs",
20
+ "DevicePortalConnectionRequestReceivedEventArgs",
21
+ ]
19
22
 
20
- Self = typing.TypeVar('Self')
23
+ class DevicePortalConnectionClosedReason(enum.IntEnum):
24
+ UNKNOWN = 0
25
+ RESOURCE_LIMITS_EXCEEDED = 1
26
+ PROTOCOL_ERROR = 2
27
+ NOT_AUTHORIZED = 3
28
+ USER_NOT_PRESENT = 4
29
+ SERVICE_TERMINATED = 5
21
30
 
22
31
  @typing.final
23
- class DevicePortalConnection_Static(winrt._winrt.IInspectable_Static):
32
+ class DevicePortalConnection_Static(winrt.system.Object_Static):
24
33
  # Windows.System.Diagnostics.DevicePortal.DevicePortalConnection Windows.System.Diagnostics.DevicePortal.DevicePortalConnection::GetForAppServiceConnection(Windows.ApplicationModel.AppService.AppServiceConnection)
25
34
  def get_for_app_service_connection(cls, app_service_connection: windows_applicationmodel_appservice.AppServiceConnection, /) -> DevicePortalConnection: ...
26
35
 
27
36
  @typing.final
28
37
  class DevicePortalConnection(winrt.system.Object, metaclass=DevicePortalConnection_Static):
38
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
39
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
40
+ @typing.overload
29
41
  # Windows.Networking.Sockets.ServerMessageWebSocket Windows.System.Diagnostics.DevicePortal.DevicePortalConnection::GetServerMessageWebSocketForRequest(Windows.Web.Http.HttpRequestMessage)
30
42
  def get_server_message_web_socket_for_request(self, request: windows_web_http.HttpRequestMessage, /) -> windows_networking_sockets.ServerMessageWebSocket: ...
43
+ @typing.overload
31
44
  # Windows.Networking.Sockets.ServerMessageWebSocket Windows.System.Diagnostics.DevicePortal.DevicePortalConnection::GetServerMessageWebSocketForRequest(Windows.Web.Http.HttpRequestMessage,Windows.Networking.Sockets.SocketMessageType,System.String)
45
+ def get_server_message_web_socket_for_request(self, request: windows_web_http.HttpRequestMessage, message_type: windows_networking_sockets.SocketMessageType, protocol: str, /) -> windows_networking_sockets.ServerMessageWebSocket: ...
46
+ @typing.overload
47
+ # 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)
48
+ def get_server_message_web_socket_for_request(self, request: windows_web_http.HttpRequestMessage, message_type: windows_networking_sockets.SocketMessageType, protocol: str, outbound_buffer_size_in_bytes: winrt.system.UInt32 | typing.SupportsIndex, max_message_size: winrt.system.UInt32 | typing.SupportsIndex, receive_mode: windows_networking_sockets.MessageWebSocketReceiveMode, /) -> windows_networking_sockets.ServerMessageWebSocket: ...
49
+ # Deprecated alias of get_server_message_web_socket_for_request() for pywinrt v3.x compatibility.
50
+ # Windows.Networking.Sockets.ServerMessageWebSocket Windows.System.Diagnostics.DevicePortal.DevicePortalConnection::GetServerMessageWebSocketForRequest(Windows.Web.Http.HttpRequestMessage,Windows.Networking.Sockets.SocketMessageType,System.String)
51
+ @deprecated("Use get_server_message_web_socket_for_request() instead.")
32
52
  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: ...
53
+ # Deprecated alias of get_server_message_web_socket_for_request() for pywinrt v3.x compatibility.
33
54
  # 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: ...
55
+ @deprecated("Use get_server_message_web_socket_for_request() instead.")
56
+ 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 | typing.SupportsIndex, max_message_size: winrt.system.UInt32 | typing.SupportsIndex, receive_mode: windows_networking_sockets.MessageWebSocketReceiveMode, /) -> windows_networking_sockets.ServerMessageWebSocket: ...
57
+ @typing.overload
35
58
  # Windows.Networking.Sockets.ServerStreamWebSocket Windows.System.Diagnostics.DevicePortal.DevicePortalConnection::GetServerStreamWebSocketForRequest(Windows.Web.Http.HttpRequestMessage)
36
59
  def get_server_stream_web_socket_for_request(self, request: windows_web_http.HttpRequestMessage, /) -> windows_networking_sockets.ServerStreamWebSocket: ...
60
+ @typing.overload
61
+ # Windows.Networking.Sockets.ServerStreamWebSocket Windows.System.Diagnostics.DevicePortal.DevicePortalConnection::GetServerStreamWebSocketForRequest(Windows.Web.Http.HttpRequestMessage,System.String,System.UInt32,System.Boolean)
62
+ def get_server_stream_web_socket_for_request(self, request: windows_web_http.HttpRequestMessage, protocol: str, outbound_buffer_size_in_bytes: winrt.system.UInt32 | typing.SupportsIndex, no_delay: bool, /) -> windows_networking_sockets.ServerStreamWebSocket: ...
63
+ # Deprecated alias of get_server_stream_web_socket_for_request() for pywinrt v3.x compatibility.
37
64
  # 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: ...
65
+ @deprecated("Use get_server_stream_web_socket_for_request() instead.")
66
+ def get_server_stream_web_socket_for_request2(self, request: windows_web_http.HttpRequestMessage, protocol: str, outbound_buffer_size_in_bytes: winrt.system.UInt32 | typing.SupportsIndex, no_delay: bool, /) -> windows_networking_sockets.ServerStreamWebSocket: ...
39
67
  # 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
68
  def add_closed(self, handler: windows_foundation.TypedEventHandler[DevicePortalConnection, DevicePortalConnectionClosedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
41
69
  # 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: ...
70
+ def remove_closed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
43
71
  # 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
72
  def add_request_received(self, handler: windows_foundation.TypedEventHandler[DevicePortalConnection, DevicePortalConnectionRequestReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
45
73
  # 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: ...
74
+ def remove_request_received(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
47
75
 
48
76
  @typing.final
49
77
  class DevicePortalConnectionClosedEventArgs(winrt.system.Object):
78
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
79
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
50
80
  # Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedReason Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedEventArgs::get_Reason()
51
81
  @_property
52
82
  def reason(self) -> DevicePortalConnectionClosedReason: ...
53
83
 
54
84
  @typing.final
55
85
  class DevicePortalConnectionRequestReceivedEventArgs(winrt.system.Object):
86
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
87
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
56
88
  # Windows.Foundation.Deferral Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionRequestReceivedEventArgs::GetDeferral()
57
89
  def get_deferral(self) -> windows_foundation.Deferral: ...
58
90
  # Windows.Web.Http.HttpRequestMessage Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionRequestReceivedEventArgs::get_RequestMessage()
@@ -66,5 +98,5 @@ class DevicePortalConnectionRequestReceivedEventArgs(winrt.system.Object):
66
98
  def is_web_socket_upgrade_request(self) -> bool: ...
67
99
  # Windows.Foundation.Collections.IVectorView`1<System.String> Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionRequestReceivedEventArgs::get_WebSocketProtocolsRequested()
68
100
  @_property
69
- def web_socket_protocols_requested(self) -> typing.Sequence[str]: ...
101
+ def web_socket_protocols_requested(self) -> _cabc.Sequence[str]: ...
70
102
 
@@ -0,0 +1,241 @@
1
+ format 4.0
2
+ census 2e30db26-66c8-4551-85b9-a537376d8f99 1
3
+ namespace Windows.System.Diagnostics.DevicePortal
4
+
5
+ class Windows.System.Diagnostics.DevicePortal.DevicePortalConnection python_type
6
+ py DevicePortalConnection
7
+ signature rc(Windows.System.Diagnostics.DevicePortal.DevicePortalConnection;{0f447f51-1198-4da1-8d54-bdef393e09b6})
8
+ default Windows.System.Diagnostics.DevicePortal.IDevicePortalConnection
9
+ requires Windows.System.Diagnostics.DevicePortal.IDevicePortalConnection
10
+ requires Windows.System.Diagnostics.DevicePortal.IDevicePortalWebSocketConnection
11
+ factory Windows.System.Diagnostics.DevicePortal.IDevicePortalConnectionStatics
12
+ event closed
13
+ add add_Closed slot=6 inputs=1 outputs=1 declaring=Windows.System.Diagnostics.DevicePortal.IDevicePortalConnection shape=51
14
+ in delegate type=Windows.Foundation.TypedEventHandler<Windows.System.Diagnostics.DevicePortal.DevicePortalConnection,Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedEventArgs> name=handler
15
+ out event_token type=Windows.Foundation.EventRegistrationToken return
16
+ remove remove_Closed slot=7 inputs=1 outputs=0 declaring=Windows.System.Diagnostics.DevicePortal.IDevicePortalConnection shape=26
17
+ in event_token type=Windows.Foundation.EventRegistrationToken name=token
18
+ event request_received
19
+ add add_RequestReceived slot=8 inputs=1 outputs=1 declaring=Windows.System.Diagnostics.DevicePortal.IDevicePortalConnection shape=51
20
+ in delegate type=Windows.Foundation.TypedEventHandler<Windows.System.Diagnostics.DevicePortal.DevicePortalConnection,Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionRequestReceivedEventArgs> name=handler
21
+ out event_token type=Windows.Foundation.EventRegistrationToken return
22
+ remove remove_RequestReceived slot=9 inputs=1 outputs=0 declaring=Windows.System.Diagnostics.DevicePortal.IDevicePortalConnection shape=26
23
+ in event_token type=Windows.Foundation.EventRegistrationToken name=token
24
+ method get_for_app_service_connection static
25
+ method GetForAppServiceConnection slot=6 inputs=1 outputs=1 declaring=Windows.System.Diagnostics.DevicePortal.IDevicePortalConnectionStatics shape=51 static
26
+ in class type=Windows.ApplicationModel.AppService.AppServiceConnection name=appServiceConnection
27
+ out class type=Windows.System.Diagnostics.DevicePortal.DevicePortalConnection return
28
+ method get_server_message_web_socket_for_request
29
+ method GetServerMessageWebSocketForRequest slot=6 inputs=1 outputs=1 declaring=Windows.System.Diagnostics.DevicePortal.IDevicePortalWebSocketConnection shape=51
30
+ in class type=Windows.Web.Http.HttpRequestMessage name=request
31
+ out class type=Windows.Networking.Sockets.ServerMessageWebSocket return
32
+ method GetServerMessageWebSocketForRequest slot=7 inputs=3 outputs=1 declaring=Windows.System.Diagnostics.DevicePortal.IDevicePortalWebSocketConnection shape=195
33
+ in class type=Windows.Web.Http.HttpRequestMessage name=request
34
+ in enum32 type=Windows.Networking.Sockets.SocketMessageType name=messageType
35
+ in string name=protocol
36
+ out class type=Windows.Networking.Sockets.ServerMessageWebSocket return
37
+ method GetServerMessageWebSocketForRequest slot=8 inputs=6 outputs=1 declaring=Windows.System.Diagnostics.DevicePortal.IDevicePortalWebSocketConnection shape=278
38
+ in class type=Windows.Web.Http.HttpRequestMessage name=request
39
+ in enum32 type=Windows.Networking.Sockets.SocketMessageType name=messageType
40
+ in string name=protocol
41
+ in uint32 name=outboundBufferSizeInBytes
42
+ in uint32 name=maxMessageSize
43
+ in enum32 type=Windows.Networking.Sockets.MessageWebSocketReceiveMode name=receiveMode
44
+ out class type=Windows.Networking.Sockets.ServerMessageWebSocket return
45
+ method get_server_stream_web_socket_for_request
46
+ method GetServerStreamWebSocketForRequest slot=9 inputs=1 outputs=1 declaring=Windows.System.Diagnostics.DevicePortal.IDevicePortalWebSocketConnection shape=51
47
+ in class type=Windows.Web.Http.HttpRequestMessage name=request
48
+ out class type=Windows.Networking.Sockets.ServerStreamWebSocket return
49
+ method GetServerStreamWebSocketForRequest slot=10 inputs=4 outputs=1 declaring=Windows.System.Diagnostics.DevicePortal.IDevicePortalWebSocketConnection shape=239
50
+ in class type=Windows.Web.Http.HttpRequestMessage name=request
51
+ in string name=protocol
52
+ in uint32 name=outboundBufferSizeInBytes
53
+ in boolean name=noDelay
54
+ out class type=Windows.Networking.Sockets.ServerStreamWebSocket return
55
+
56
+ class Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedEventArgs python_type
57
+ py DevicePortalConnectionClosedEventArgs
58
+ signature rc(Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedEventArgs;{fcf70e38-7032-428c-9f50-945c15a9f0cb})
59
+ default Windows.System.Diagnostics.DevicePortal.IDevicePortalConnectionClosedEventArgs
60
+ requires Windows.System.Diagnostics.DevicePortal.IDevicePortalConnectionClosedEventArgs
61
+ property reason
62
+ get get_Reason slot=6 inputs=0 outputs=1 declaring=Windows.System.Diagnostics.DevicePortal.IDevicePortalConnectionClosedEventArgs shape=4
63
+ out enum32 type=Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedReason return
64
+
65
+ enum Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedReason python_type
66
+ py DevicePortalConnectionClosedReason
67
+ signature enum(Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedReason;i4)
68
+ constant UNKNOWN 0
69
+ constant RESOURCE_LIMITS_EXCEEDED 1
70
+ constant PROTOCOL_ERROR 2
71
+ constant NOT_AUTHORIZED 3
72
+ constant USER_NOT_PRESENT 4
73
+ constant SERVICE_TERMINATED 5
74
+
75
+ class Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionRequestReceivedEventArgs python_type
76
+ py DevicePortalConnectionRequestReceivedEventArgs
77
+ signature rc(Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionRequestReceivedEventArgs;{64dae045-6fda-4459-9ebd-ecce22e38559})
78
+ default Windows.System.Diagnostics.DevicePortal.IDevicePortalConnectionRequestReceivedEventArgs
79
+ requires Windows.System.Diagnostics.DevicePortal.IDevicePortalConnectionRequestReceivedEventArgs
80
+ requires Windows.System.Diagnostics.DevicePortal.IDevicePortalWebSocketConnectionRequestReceivedEventArgs
81
+ property request_message
82
+ get get_RequestMessage slot=6 inputs=0 outputs=1 declaring=Windows.System.Diagnostics.DevicePortal.IDevicePortalConnectionRequestReceivedEventArgs shape=4
83
+ out class type=Windows.Web.Http.HttpRequestMessage return
84
+ property response_message
85
+ get get_ResponseMessage slot=7 inputs=0 outputs=1 declaring=Windows.System.Diagnostics.DevicePortal.IDevicePortalConnectionRequestReceivedEventArgs shape=4
86
+ out class type=Windows.Web.Http.HttpResponseMessage return
87
+ property is_web_socket_upgrade_request
88
+ get get_IsWebSocketUpgradeRequest slot=6 inputs=0 outputs=1 declaring=Windows.System.Diagnostics.DevicePortal.IDevicePortalWebSocketConnectionRequestReceivedEventArgs shape=4
89
+ out boolean return
90
+ property web_socket_protocols_requested
91
+ get get_WebSocketProtocolsRequested slot=7 inputs=0 outputs=1 declaring=Windows.System.Diagnostics.DevicePortal.IDevicePortalWebSocketConnectionRequestReceivedEventArgs shape=4
92
+ out parameterized type=Windows.Foundation.Collections.IVectorView<System.String> return
93
+ method get_deferral
94
+ method GetDeferral slot=8 inputs=0 outputs=1 declaring=Windows.System.Diagnostics.DevicePortal.IDevicePortalWebSocketConnectionRequestReceivedEventArgs shape=4
95
+ out class type=Windows.Foundation.Deferral return
96
+
97
+ interface Windows.System.Diagnostics.DevicePortal.IDevicePortalConnection
98
+ guid 0f447f51-1198-4da1-8d54-bdef393e09b6
99
+
100
+ interface Windows.System.Diagnostics.DevicePortal.IDevicePortalConnectionClosedEventArgs
101
+ guid fcf70e38-7032-428c-9f50-945c15a9f0cb
102
+
103
+ interface Windows.System.Diagnostics.DevicePortal.IDevicePortalConnectionRequestReceivedEventArgs
104
+ guid 64dae045-6fda-4459-9ebd-ecce22e38559
105
+
106
+ interface Windows.System.Diagnostics.DevicePortal.IDevicePortalConnectionStatics
107
+ guid 4bbe31e7-e9b9-4645-8fed-a53eea0edbd6
108
+
109
+ interface Windows.System.Diagnostics.DevicePortal.IDevicePortalWebSocketConnection
110
+ guid 67657920-d65a-42f0-aef4-787808098b7b
111
+
112
+ interface Windows.System.Diagnostics.DevicePortal.IDevicePortalWebSocketConnectionRequestReceivedEventArgs
113
+ guid 79fdcaba-175c-4739-9f74-dda797c35b3f
114
+
115
+ interface Windows.Foundation.Collections.IIterable<System.String> concrete iterable
116
+ py winrt.windows.foundation.collections._IIterable[String]
117
+ guid e2fcc7c1-3bfc-5a0b-b2b0-72e769d1cb7e
118
+ signature pinterface({faa585ea-6214-4217-afda-7f46de5869b3};string)
119
+ base Windows.Foundation.Collections.IIterable
120
+ argument System.String
121
+ method first
122
+ method First slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterable<System.String> shape=4 reverse=22 role=first
123
+ out parameterized type=Windows.Foundation.Collections.IIterator<System.String> return
124
+
125
+ interface Windows.Foundation.Collections.IIterator<System.String> concrete iterable iterator
126
+ py winrt.windows.foundation.collections._IIterator[String]
127
+ guid 8c304ebb-6615-50a4-8829-879ecd443236
128
+ signature pinterface({6a79e863-4300-459a-9966-cbb660963ee1};string)
129
+ base Windows.Foundation.Collections.IIterator
130
+ argument System.String
131
+ property current
132
+ get get_Current slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterator<System.String> shape=4 reverse=22 role=current
133
+ out string return
134
+ property has_current
135
+ get get_HasCurrent slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterator<System.String> shape=4 reverse=43 role=has_current
136
+ out boolean return
137
+ method get_many
138
+ method GetMany slot=9 inputs=1 outputs=1 declaring=Windows.Foundation.Collections.IIterator<System.String> shape=117 reverse=101 role=get_many
139
+ fill_array string name=items
140
+ out uint32 return
141
+ method move_next
142
+ method MoveNext slot=8 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterator<System.String> shape=4 reverse=62 role=move_next
143
+ out boolean return
144
+
145
+ interface Windows.Foundation.Collections.IVectorView<System.String> concrete iterable sequence
146
+ py winrt.windows.foundation.collections._IVectorView[String]
147
+ guid 2f13c006-a03a-5f69-b090-75a43e33423e
148
+ signature pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};string)
149
+ base Windows.Foundation.Collections.IVectorView
150
+ requires Windows.Foundation.Collections.IIterable<System.String>
151
+ argument System.String
152
+ property size
153
+ get get_Size slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IVectorView<System.String> shape=4 reverse=43 role=size
154
+ out uint32 return
155
+ method first
156
+ method First slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterable<System.String> shape=4 reverse=22 role=first
157
+ out parameterized type=Windows.Foundation.Collections.IIterator<System.String> return
158
+ method get_at
159
+ method GetAt slot=6 inputs=1 outputs=1 declaring=Windows.Foundation.Collections.IVectorView<System.String> shape=51 reverse=24 role=get_at
160
+ in uint32 name=index
161
+ out string return
162
+ method get_many
163
+ method GetMany slot=9 inputs=2 outputs=1 declaring=Windows.Foundation.Collections.IVectorView<System.String> shape=195 reverse=102 role=get_many
164
+ in uint32 name=startIndex
165
+ fill_array string name=items
166
+ out uint32 return
167
+ method index_of
168
+ method IndexOf slot=8 inputs=1 outputs=2 declaring=Windows.Foundation.Collections.IVectorView<System.String> shape=117 reverse=66 role=index_of
169
+ in string name=value
170
+ out uint32 name=index
171
+ out boolean return
172
+
173
+ delegate Windows.Foundation.TypedEventHandler<Windows.System.Diagnostics.DevicePortal.DevicePortalConnection,Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedEventArgs> concrete
174
+ py winrt.windows.foundation.TypedEventHandler[DevicePortalConnection, DevicePortalConnectionClosedEventArgs]
175
+ guid 2aad93a8-52fa-54b3-9556-15d651208b3f
176
+ signature pinterface({9de1c534-6ae1-11e0-84e1-18a905bcc53f};rc(Windows.System.Diagnostics.DevicePortal.DevicePortalConnection;{0f447f51-1198-4da1-8d54-bdef393e09b6});rc(Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedEventArgs;{fcf70e38-7032-428c-9f50-945c15a9f0cb}))
177
+ base Windows.Foundation.TypedEventHandler
178
+ argument Windows.System.Diagnostics.DevicePortal.DevicePortalConnection
179
+ argument Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedEventArgs
180
+ method -
181
+ method Invoke slot=3 inputs=2 outputs=0 shape=51 reverse=4
182
+ in class type=Windows.System.Diagnostics.DevicePortal.DevicePortalConnection name=sender
183
+ in class type=Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedEventArgs name=args
184
+
185
+ delegate Windows.Foundation.TypedEventHandler<Windows.System.Diagnostics.DevicePortal.DevicePortalConnection,Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionRequestReceivedEventArgs> concrete
186
+ py winrt.windows.foundation.TypedEventHandler[DevicePortalConnection, DevicePortalConnectionRequestReceivedEventArgs]
187
+ guid d8e33ff8-8ac4-5fd9-b184-8ae87d828eb9
188
+ signature pinterface({9de1c534-6ae1-11e0-84e1-18a905bcc53f};rc(Windows.System.Diagnostics.DevicePortal.DevicePortalConnection;{0f447f51-1198-4da1-8d54-bdef393e09b6});rc(Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionRequestReceivedEventArgs;{64dae045-6fda-4459-9ebd-ecce22e38559}))
189
+ base Windows.Foundation.TypedEventHandler
190
+ argument Windows.System.Diagnostics.DevicePortal.DevicePortalConnection
191
+ argument Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionRequestReceivedEventArgs
192
+ method -
193
+ method Invoke slot=3 inputs=2 outputs=0 shape=51 reverse=4
194
+ in class type=Windows.System.Diagnostics.DevicePortal.DevicePortalConnection name=sender
195
+ in class type=Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionRequestReceivedEventArgs name=args
196
+
197
+ class System.String external
198
+ py winrt.system.String
199
+
200
+ class Windows.ApplicationModel.AppService.AppServiceConnection external
201
+ py winrt.windows.applicationmodel.appservice.AppServiceConnection
202
+
203
+ class Windows.Foundation.Deferral external
204
+ py winrt.windows.foundation.Deferral
205
+
206
+ struct Windows.Foundation.EventRegistrationToken external
207
+ py winrt.windows.foundation.EventRegistrationToken
208
+
209
+ delegate Windows.Foundation.TypedEventHandler external parameterized
210
+ py winrt.windows.foundation.TypedEventHandler
211
+ guid 9de1c534-6ae1-11e0-84e1-18a905bcc53f
212
+
213
+ interface Windows.Foundation.Collections.IIterable external parameterized
214
+ py winrt.windows.foundation.collections._IIterable
215
+ guid faa585ea-6214-4217-afda-7f46de5869b3
216
+
217
+ interface Windows.Foundation.Collections.IIterator external parameterized
218
+ py winrt.windows.foundation.collections._IIterator
219
+ guid 6a79e863-4300-459a-9966-cbb660963ee1
220
+
221
+ interface Windows.Foundation.Collections.IVectorView external parameterized
222
+ py winrt.windows.foundation.collections._IVectorView
223
+ guid bbe1fa4c-b0e3-4583-baef-1f1b2e483e56
224
+
225
+ enum Windows.Networking.Sockets.MessageWebSocketReceiveMode external
226
+ py winrt.windows.networking.sockets.MessageWebSocketReceiveMode
227
+
228
+ class Windows.Networking.Sockets.ServerMessageWebSocket external
229
+ py winrt.windows.networking.sockets.ServerMessageWebSocket
230
+
231
+ class Windows.Networking.Sockets.ServerStreamWebSocket external
232
+ py winrt.windows.networking.sockets.ServerStreamWebSocket
233
+
234
+ enum Windows.Networking.Sockets.SocketMessageType external
235
+ py winrt.windows.networking.sockets.SocketMessageType
236
+
237
+ class Windows.Web.Http.HttpRequestMessage external
238
+ py winrt.windows.web.http.HttpRequestMessage
239
+
240
+ class Windows.Web.Http.HttpResponseMessage external
241
+ py winrt.windows.web.http.HttpResponseMessage
@@ -1,29 +0,0 @@
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.
@@ -1,7 +0,0 @@
1
- <!-- warning: Please don't edit this file. It was automatically generated. -->
2
-
3
- # winrt-Windows.System.Diagnostics.DevicePortal
4
-
5
- Windows Runtime (WinRT) APIs for for the `Windows.System.Diagnostics.DevicePortal` namespace.
6
-
7
- This package provides the `winrt.windows.system.diagnostics.deviceportal` module.
@@ -1,7 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
-
3
- winrt-Windows.ApplicationModel.AppService[all]~=3.2.1.0
4
- winrt-Windows.Foundation[all]~=3.2.1.0
5
- winrt-Windows.Foundation.Collections[all]~=3.2.1.0
6
- winrt-Windows.Networking.Sockets[all]~=3.2.1.0
7
- winrt-Windows.Web.Http[all]~=3.2.1.0