winrt-Windows.Networking.Sockets 2.0.0b1__tar.gz → 2.0.1__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.
- winrt_windows_networking_sockets-2.0.1/PKG-INFO +33 -0
- winrt_windows_networking_sockets-2.0.1/all-requirements.txt +11 -0
- {winrt-Windows.Networking.Sockets-2.0.0b1 → winrt_windows_networking_sockets-2.0.1}/py.Windows.Networking.Sockets.cpp +1 -1
- {winrt-Windows.Networking.Sockets-2.0.0b1 → winrt_windows_networking_sockets-2.0.1}/pyproject.toml +7 -4
- winrt_windows_networking_sockets-2.0.1/pywinrt-version.txt +1 -0
- {winrt-Windows.Networking.Sockets-2.0.0b1 → winrt_windows_networking_sockets-2.0.1}/requirements.txt +2 -2
- winrt_windows_networking_sockets-2.0.1/setup.py +31 -0
- {winrt-Windows.Networking.Sockets-2.0.0b1 → winrt_windows_networking_sockets-2.0.1}/winrt/_winrt_windows_networking_sockets.pyi +47 -1
- {winrt-Windows.Networking.Sockets-2.0.0b1 → winrt_windows_networking_sockets-2.0.1}/winrt/windows/networking/sockets/__init__.py +1 -1
- winrt_windows_networking_sockets-2.0.1/winrt/windows/networking/sockets/py.typed +0 -0
- winrt_windows_networking_sockets-2.0.1/winrt_Windows.Networking.Sockets.egg-info/PKG-INFO +33 -0
- {winrt-Windows.Networking.Sockets-2.0.0b1 → winrt_windows_networking_sockets-2.0.1}/winrt_Windows.Networking.Sockets.egg-info/SOURCES.txt +1 -0
- winrt_windows_networking_sockets-2.0.1/winrt_Windows.Networking.Sockets.egg-info/requires.txt +12 -0
- winrt-Windows.Networking.Sockets-2.0.0b1/PKG-INFO +0 -22
- winrt-Windows.Networking.Sockets-2.0.0b1/all-requirements.txt +0 -11
- winrt-Windows.Networking.Sockets-2.0.0b1/pywinrt-version.txt +0 -1
- winrt-Windows.Networking.Sockets-2.0.0b1/setup.py +0 -17
- winrt-Windows.Networking.Sockets-2.0.0b1/winrt_Windows.Networking.Sockets.egg-info/PKG-INFO +0 -22
- winrt-Windows.Networking.Sockets-2.0.0b1/winrt_Windows.Networking.Sockets.egg-info/requires.txt +0 -12
- {winrt-Windows.Networking.Sockets-2.0.0b1 → winrt_windows_networking_sockets-2.0.1}/README.md +0 -0
- {winrt-Windows.Networking.Sockets-2.0.0b1 → winrt_windows_networking_sockets-2.0.1}/setup.cfg +0 -0
- {winrt-Windows.Networking.Sockets-2.0.0b1 → winrt_windows_networking_sockets-2.0.1}/winrt_Windows.Networking.Sockets.egg-info/dependency_links.txt +0 -0
- {winrt-Windows.Networking.Sockets-2.0.0b1 → winrt_windows_networking_sockets-2.0.1}/winrt_Windows.Networking.Sockets.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.Networking.Sockets
|
|
3
|
+
Version: 2.0.1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: 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.13,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.0.1
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Background[all]==2.0.1; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Networking[all]==2.0.1; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Networking.Connectivity[all]==2.0.1; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.Security.Credentials[all]==2.0.1; extra == "all"
|
|
23
|
+
Requires-Dist: winrt-Windows.Security.Cryptography.Certificates[all]==2.0.1; extra == "all"
|
|
24
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
|
|
25
|
+
Requires-Dist: winrt-Windows.Web[all]==2.0.1; extra == "all"
|
|
26
|
+
|
|
27
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
28
|
+
|
|
29
|
+
# winrt-Windows.Networking.Sockets
|
|
30
|
+
|
|
31
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Networking.Sockets` namespace.
|
|
32
|
+
|
|
33
|
+
This package provides the `winrt.windows.networking.sockets` module.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
|
+
|
|
3
|
+
winrt-Windows.ApplicationModel.Background[all]==2.0.1
|
|
4
|
+
winrt-Windows.Foundation[all]==2.0.1
|
|
5
|
+
winrt-Windows.Foundation.Collections[all]==2.0.1
|
|
6
|
+
winrt-Windows.Networking[all]==2.0.1
|
|
7
|
+
winrt-Windows.Networking.Connectivity[all]==2.0.1
|
|
8
|
+
winrt-Windows.Security.Credentials[all]==2.0.1
|
|
9
|
+
winrt-Windows.Security.Cryptography.Certificates[all]==2.0.1
|
|
10
|
+
winrt-Windows.Storage.Streams[all]==2.0.1
|
|
11
|
+
winrt-Windows.Web[all]==2.0.1
|
{winrt-Windows.Networking.Sockets-2.0.0b1 → winrt_windows_networking_sockets-2.0.1}/pyproject.toml
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = ["setuptools", "
|
|
4
|
+
requires = ["setuptools", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
@@ -19,9 +19,9 @@ dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
|
19
19
|
requires-python = ">=3.9,<3.13"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
|
-
# Homepage = "https://github.com/
|
|
23
|
-
|
|
24
|
-
Repository = "https://github.com/
|
|
22
|
+
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
23
|
+
Documentation = "https://pywinrt.readthedocs.io"
|
|
24
|
+
Repository = "https://github.com/pywinrt/pywinrt"
|
|
25
25
|
Changelog = "https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md"
|
|
26
26
|
|
|
27
27
|
[tool.setuptools.dynamic]
|
|
@@ -29,6 +29,9 @@ version = { file = "pywinrt-version.txt" }
|
|
|
29
29
|
dependencies = { file = "requirements.txt" }
|
|
30
30
|
optional-dependencies.all = { file = "all-requirements.txt" }
|
|
31
31
|
|
|
32
|
+
[tool.setuptools.package-data]
|
|
33
|
+
"*" = ["*.pyi", "py.typed"]
|
|
34
|
+
|
|
32
35
|
[tool.cibuildwheel]
|
|
33
36
|
# use local winrt-sdk build dependency
|
|
34
37
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.0.1
|
{winrt-Windows.Networking.Sockets-2.0.0b1 → winrt_windows_networking_sockets-2.0.1}/requirements.txt
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.0.
|
|
3
|
+
winrt-runtime==2.0.1
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
+
|
|
3
|
+
from setuptools import Extension, setup
|
|
4
|
+
from setuptools.command.build_ext import build_ext
|
|
5
|
+
from winrt_sdk import get_include_dirs
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class build_ext_ex(build_ext):
|
|
9
|
+
def build_extension(self, ext):
|
|
10
|
+
if self.compiler.compiler_type == "msvc":
|
|
11
|
+
ext.extra_compile_args = ["/std:c++20", "/permissive-"]
|
|
12
|
+
elif self.compiler.compiler_type == "mingw32":
|
|
13
|
+
ext.extra_compile_args = ["-std=c++20", "-D_WIN32_WINNT=_WIN32_WINNT_WIN10"]
|
|
14
|
+
ext.extra_link_args = ["-loleaut32"]
|
|
15
|
+
else:
|
|
16
|
+
raise ValueError(f"Unsupported compiler: {self.compiler.compiler_type}")
|
|
17
|
+
|
|
18
|
+
build_ext.build_extension(self, ext)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
setup(
|
|
22
|
+
cmdclass = {'build_ext': build_ext_ex},
|
|
23
|
+
ext_modules=[
|
|
24
|
+
Extension(
|
|
25
|
+
"winrt._winrt_windows_networking_sockets",
|
|
26
|
+
sources=["py.Windows.Networking.Sockets.cpp"],
|
|
27
|
+
include_dirs=get_include_dirs(),
|
|
28
|
+
libraries=["windowsapp"],
|
|
29
|
+
)
|
|
30
|
+
],
|
|
31
|
+
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -23,6 +23,7 @@ from winrt.windows.networking.sockets import ControlChannelTriggerResetReason, C
|
|
|
23
23
|
|
|
24
24
|
Self = typing.TypeVar('Self')
|
|
25
25
|
|
|
26
|
+
@typing.final
|
|
26
27
|
class BandwidthStatistics:
|
|
27
28
|
outbound_bits_per_second: winrt.system.UInt64
|
|
28
29
|
inbound_bits_per_second: winrt.system.UInt64
|
|
@@ -32,6 +33,7 @@ class BandwidthStatistics:
|
|
|
32
33
|
inbound_bandwidth_peaked: bool
|
|
33
34
|
def __init__(self, outbound_bits_per_second: winrt.system.UInt64, inbound_bits_per_second: winrt.system.UInt64, outbound_bits_per_second_instability: winrt.system.UInt64, inbound_bits_per_second_instability: winrt.system.UInt64, outbound_bandwidth_peaked: bool, inbound_bandwidth_peaked: bool) -> None: ...
|
|
34
35
|
|
|
36
|
+
@typing.final
|
|
35
37
|
class RoundTripTimeStatistics:
|
|
36
38
|
variance: winrt.system.UInt32
|
|
37
39
|
max: winrt.system.UInt32
|
|
@@ -39,6 +41,7 @@ class RoundTripTimeStatistics:
|
|
|
39
41
|
sum: winrt.system.UInt32
|
|
40
42
|
def __init__(self, variance: winrt.system.UInt32, max: winrt.system.UInt32, min: winrt.system.UInt32, sum: winrt.system.UInt32) -> None: ...
|
|
41
43
|
|
|
44
|
+
@typing.final
|
|
42
45
|
class ControlChannelTrigger(winrt.system.Object):
|
|
43
46
|
def __enter__(self: Self) -> Self: ...
|
|
44
47
|
def __exit__(self, *args) -> None: ...
|
|
@@ -70,12 +73,14 @@ class ControlChannelTrigger(winrt.system.Object):
|
|
|
70
73
|
@_property
|
|
71
74
|
def is_wake_from_low_power_supported(self) -> bool: ...
|
|
72
75
|
|
|
76
|
+
@typing.final
|
|
73
77
|
class DatagramSocket_Static(type):
|
|
74
78
|
@typing.overload
|
|
75
79
|
def get_endpoint_pairs_async(cls, remote_host_name: typing.Optional[winrt.windows.networking.HostName], remote_service_name: str, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[winrt.windows.networking.EndpointPair]]: ...
|
|
76
80
|
@typing.overload
|
|
77
81
|
def get_endpoint_pairs_async(cls, remote_host_name: typing.Optional[winrt.windows.networking.HostName], remote_service_name: str, sort_options: winrt.windows.networking.HostNameSortOptions, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[winrt.windows.networking.EndpointPair]]: ...
|
|
78
82
|
|
|
83
|
+
@typing.final
|
|
79
84
|
class DatagramSocket(winrt.system.Object, metaclass=DatagramSocket_Static):
|
|
80
85
|
def __enter__(self: Self) -> Self: ...
|
|
81
86
|
def __exit__(self, *args) -> None: ...
|
|
@@ -117,6 +122,7 @@ class DatagramSocket(winrt.system.Object, metaclass=DatagramSocket_Static):
|
|
|
117
122
|
@_property
|
|
118
123
|
def output_stream(self) -> typing.Optional[winrt.windows.storage.streams.IOutputStream]: ...
|
|
119
124
|
|
|
125
|
+
@typing.final
|
|
120
126
|
class DatagramSocketControl(winrt.system.Object):
|
|
121
127
|
@staticmethod
|
|
122
128
|
def _from(obj: winrt.system.Object, /) -> DatagramSocketControl: ...
|
|
@@ -141,6 +147,7 @@ class DatagramSocketControl(winrt.system.Object):
|
|
|
141
147
|
@multicast_only.setter
|
|
142
148
|
def multicast_only(self, value: bool) -> None: ...
|
|
143
149
|
|
|
150
|
+
@typing.final
|
|
144
151
|
class DatagramSocketInformation(winrt.system.Object):
|
|
145
152
|
@staticmethod
|
|
146
153
|
def _from(obj: winrt.system.Object, /) -> DatagramSocketInformation: ...
|
|
@@ -153,6 +160,7 @@ class DatagramSocketInformation(winrt.system.Object):
|
|
|
153
160
|
@_property
|
|
154
161
|
def remote_port(self) -> str: ...
|
|
155
162
|
|
|
163
|
+
@typing.final
|
|
156
164
|
class DatagramSocketMessageReceivedEventArgs(winrt.system.Object):
|
|
157
165
|
@staticmethod
|
|
158
166
|
def _from(obj: winrt.system.Object, /) -> DatagramSocketMessageReceivedEventArgs: ...
|
|
@@ -165,6 +173,7 @@ class DatagramSocketMessageReceivedEventArgs(winrt.system.Object):
|
|
|
165
173
|
@_property
|
|
166
174
|
def remote_port(self) -> str: ...
|
|
167
175
|
|
|
176
|
+
@typing.final
|
|
168
177
|
class MessageWebSocket(winrt.system.Object):
|
|
169
178
|
def __enter__(self: Self) -> Self: ...
|
|
170
179
|
def __exit__(self, *args) -> None: ...
|
|
@@ -192,6 +201,7 @@ class MessageWebSocket(winrt.system.Object):
|
|
|
192
201
|
@_property
|
|
193
202
|
def output_stream(self) -> typing.Optional[winrt.windows.storage.streams.IOutputStream]: ...
|
|
194
203
|
|
|
204
|
+
@typing.final
|
|
195
205
|
class MessageWebSocketControl(winrt.system.Object):
|
|
196
206
|
@staticmethod
|
|
197
207
|
def _from(obj: winrt.system.Object, /) -> MessageWebSocketControl: ...
|
|
@@ -234,6 +244,7 @@ class MessageWebSocketControl(winrt.system.Object):
|
|
|
234
244
|
@_property
|
|
235
245
|
def ignorable_server_certificate_errors(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[winrt.windows.security.cryptography.certificates.ChainValidationResult]]: ...
|
|
236
246
|
|
|
247
|
+
@typing.final
|
|
237
248
|
class MessageWebSocketInformation(winrt.system.Object):
|
|
238
249
|
@staticmethod
|
|
239
250
|
def _from(obj: winrt.system.Object, /) -> MessageWebSocketInformation: ...
|
|
@@ -252,6 +263,7 @@ class MessageWebSocketInformation(winrt.system.Object):
|
|
|
252
263
|
@_property
|
|
253
264
|
def server_intermediate_certificates(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[winrt.windows.security.cryptography.certificates.Certificate]]: ...
|
|
254
265
|
|
|
266
|
+
@typing.final
|
|
255
267
|
class MessageWebSocketMessageReceivedEventArgs(winrt.system.Object):
|
|
256
268
|
@staticmethod
|
|
257
269
|
def _from(obj: winrt.system.Object, /) -> MessageWebSocketMessageReceivedEventArgs: ...
|
|
@@ -262,6 +274,7 @@ class MessageWebSocketMessageReceivedEventArgs(winrt.system.Object):
|
|
|
262
274
|
@_property
|
|
263
275
|
def is_message_complete(self) -> bool: ...
|
|
264
276
|
|
|
277
|
+
@typing.final
|
|
265
278
|
class ServerMessageWebSocket(winrt.system.Object):
|
|
266
279
|
def __enter__(self: Self) -> Self: ...
|
|
267
280
|
def __exit__(self, *args) -> None: ...
|
|
@@ -282,6 +295,7 @@ class ServerMessageWebSocket(winrt.system.Object):
|
|
|
282
295
|
@_property
|
|
283
296
|
def output_stream(self) -> typing.Optional[winrt.windows.storage.streams.IOutputStream]: ...
|
|
284
297
|
|
|
298
|
+
@typing.final
|
|
285
299
|
class ServerMessageWebSocketControl(winrt.system.Object):
|
|
286
300
|
@staticmethod
|
|
287
301
|
def _from(obj: winrt.system.Object, /) -> ServerMessageWebSocketControl: ...
|
|
@@ -290,6 +304,7 @@ class ServerMessageWebSocketControl(winrt.system.Object):
|
|
|
290
304
|
@message_type.setter
|
|
291
305
|
def message_type(self, value: SocketMessageType) -> None: ...
|
|
292
306
|
|
|
307
|
+
@typing.final
|
|
293
308
|
class ServerMessageWebSocketInformation(winrt.system.Object):
|
|
294
309
|
@staticmethod
|
|
295
310
|
def _from(obj: winrt.system.Object, /) -> ServerMessageWebSocketInformation: ...
|
|
@@ -300,6 +315,7 @@ class ServerMessageWebSocketInformation(winrt.system.Object):
|
|
|
300
315
|
@_property
|
|
301
316
|
def protocol(self) -> str: ...
|
|
302
317
|
|
|
318
|
+
@typing.final
|
|
303
319
|
class ServerStreamWebSocket(winrt.system.Object):
|
|
304
320
|
def __enter__(self: Self) -> Self: ...
|
|
305
321
|
def __exit__(self, *args) -> None: ...
|
|
@@ -318,6 +334,7 @@ class ServerStreamWebSocket(winrt.system.Object):
|
|
|
318
334
|
@_property
|
|
319
335
|
def output_stream(self) -> typing.Optional[winrt.windows.storage.streams.IOutputStream]: ...
|
|
320
336
|
|
|
337
|
+
@typing.final
|
|
321
338
|
class ServerStreamWebSocketInformation(winrt.system.Object):
|
|
322
339
|
@staticmethod
|
|
323
340
|
def _from(obj: winrt.system.Object, /) -> ServerStreamWebSocketInformation: ...
|
|
@@ -328,6 +345,7 @@ class ServerStreamWebSocketInformation(winrt.system.Object):
|
|
|
328
345
|
@_property
|
|
329
346
|
def protocol(self) -> str: ...
|
|
330
347
|
|
|
348
|
+
@typing.final
|
|
331
349
|
class SocketActivityContext(winrt.system.Object):
|
|
332
350
|
@staticmethod
|
|
333
351
|
def _from(obj: winrt.system.Object, /) -> SocketActivityContext: ...
|
|
@@ -335,10 +353,12 @@ class SocketActivityContext(winrt.system.Object):
|
|
|
335
353
|
@_property
|
|
336
354
|
def data(self) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
|
|
337
355
|
|
|
356
|
+
@typing.final
|
|
338
357
|
class SocketActivityInformation_Static(type):
|
|
339
358
|
@_property
|
|
340
359
|
def all_sockets(cls) -> typing.Optional[winrt.windows.foundation.collections.IMapView[str, SocketActivityInformation]]: ...
|
|
341
360
|
|
|
361
|
+
@typing.final
|
|
342
362
|
class SocketActivityInformation(winrt.system.Object, metaclass=SocketActivityInformation_Static):
|
|
343
363
|
@staticmethod
|
|
344
364
|
def _from(obj: winrt.system.Object, /) -> SocketActivityInformation: ...
|
|
@@ -357,6 +377,7 @@ class SocketActivityInformation(winrt.system.Object, metaclass=SocketActivityInf
|
|
|
357
377
|
@_property
|
|
358
378
|
def task_id(self) -> _uuid.UUID: ...
|
|
359
379
|
|
|
380
|
+
@typing.final
|
|
360
381
|
class SocketActivityTriggerDetails(winrt.system.Object):
|
|
361
382
|
@staticmethod
|
|
362
383
|
def _from(obj: winrt.system.Object, /) -> SocketActivityTriggerDetails: ...
|
|
@@ -365,19 +386,23 @@ class SocketActivityTriggerDetails(winrt.system.Object):
|
|
|
365
386
|
@_property
|
|
366
387
|
def socket_information(self) -> typing.Optional[SocketActivityInformation]: ...
|
|
367
388
|
|
|
389
|
+
@typing.final
|
|
368
390
|
class SocketError_Static(type):
|
|
369
391
|
def get_status(cls, hresult: winrt.system.Int32, /) -> SocketErrorStatus: ...
|
|
370
392
|
|
|
393
|
+
@typing.final
|
|
371
394
|
class SocketError(winrt.system.Object, metaclass=SocketError_Static):
|
|
372
395
|
@staticmethod
|
|
373
396
|
def _from(obj: winrt.system.Object, /) -> SocketError: ...
|
|
374
397
|
|
|
398
|
+
@typing.final
|
|
375
399
|
class StreamSocket_Static(type):
|
|
376
400
|
@typing.overload
|
|
377
401
|
def get_endpoint_pairs_async(cls, remote_host_name: typing.Optional[winrt.windows.networking.HostName], remote_service_name: str, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[winrt.windows.networking.EndpointPair]]: ...
|
|
378
402
|
@typing.overload
|
|
379
403
|
def get_endpoint_pairs_async(cls, remote_host_name: typing.Optional[winrt.windows.networking.HostName], remote_service_name: str, sort_options: winrt.windows.networking.HostNameSortOptions, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[winrt.windows.networking.EndpointPair]]: ...
|
|
380
404
|
|
|
405
|
+
@typing.final
|
|
381
406
|
class StreamSocket(winrt.system.Object, metaclass=StreamSocket_Static):
|
|
382
407
|
def __enter__(self: Self) -> Self: ...
|
|
383
408
|
def __exit__(self, *args) -> None: ...
|
|
@@ -414,6 +439,7 @@ class StreamSocket(winrt.system.Object, metaclass=StreamSocket_Static):
|
|
|
414
439
|
@_property
|
|
415
440
|
def output_stream(self) -> typing.Optional[winrt.windows.storage.streams.IOutputStream]: ...
|
|
416
441
|
|
|
442
|
+
@typing.final
|
|
417
443
|
class StreamSocketControl(winrt.system.Object):
|
|
418
444
|
@staticmethod
|
|
419
445
|
def _from(obj: winrt.system.Object, /) -> StreamSocketControl: ...
|
|
@@ -452,6 +478,7 @@ class StreamSocketControl(winrt.system.Object):
|
|
|
452
478
|
@min_protection_level.setter
|
|
453
479
|
def min_protection_level(self, value: SocketProtectionLevel) -> None: ...
|
|
454
480
|
|
|
481
|
+
@typing.final
|
|
455
482
|
class StreamSocketInformation(winrt.system.Object):
|
|
456
483
|
@staticmethod
|
|
457
484
|
def _from(obj: winrt.system.Object, /) -> StreamSocketInformation: ...
|
|
@@ -484,6 +511,7 @@ class StreamSocketInformation(winrt.system.Object):
|
|
|
484
511
|
@_property
|
|
485
512
|
def server_intermediate_certificates(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[winrt.windows.security.cryptography.certificates.Certificate]]: ...
|
|
486
513
|
|
|
514
|
+
@typing.final
|
|
487
515
|
class StreamSocketListener(winrt.system.Object):
|
|
488
516
|
def __enter__(self: Self) -> Self: ...
|
|
489
517
|
def __exit__(self, *args) -> None: ...
|
|
@@ -514,12 +542,14 @@ class StreamSocketListener(winrt.system.Object):
|
|
|
514
542
|
@_property
|
|
515
543
|
def information(self) -> typing.Optional[StreamSocketListenerInformation]: ...
|
|
516
544
|
|
|
545
|
+
@typing.final
|
|
517
546
|
class StreamSocketListenerConnectionReceivedEventArgs(winrt.system.Object):
|
|
518
547
|
@staticmethod
|
|
519
548
|
def _from(obj: winrt.system.Object, /) -> StreamSocketListenerConnectionReceivedEventArgs: ...
|
|
520
549
|
@_property
|
|
521
550
|
def socket(self) -> typing.Optional[StreamSocket]: ...
|
|
522
551
|
|
|
552
|
+
@typing.final
|
|
523
553
|
class StreamSocketListenerControl(winrt.system.Object):
|
|
524
554
|
@staticmethod
|
|
525
555
|
def _from(obj: winrt.system.Object, /) -> StreamSocketListenerControl: ...
|
|
@@ -544,12 +574,14 @@ class StreamSocketListenerControl(winrt.system.Object):
|
|
|
544
574
|
@keep_alive.setter
|
|
545
575
|
def keep_alive(self, value: bool) -> None: ...
|
|
546
576
|
|
|
577
|
+
@typing.final
|
|
547
578
|
class StreamSocketListenerInformation(winrt.system.Object):
|
|
548
579
|
@staticmethod
|
|
549
580
|
def _from(obj: winrt.system.Object, /) -> StreamSocketListenerInformation: ...
|
|
550
581
|
@_property
|
|
551
582
|
def local_port(self) -> str: ...
|
|
552
583
|
|
|
584
|
+
@typing.final
|
|
553
585
|
class StreamWebSocket(winrt.system.Object):
|
|
554
586
|
def __enter__(self: Self) -> Self: ...
|
|
555
587
|
def __exit__(self, *args) -> None: ...
|
|
@@ -575,6 +607,7 @@ class StreamWebSocket(winrt.system.Object):
|
|
|
575
607
|
@_property
|
|
576
608
|
def output_stream(self) -> typing.Optional[winrt.windows.storage.streams.IOutputStream]: ...
|
|
577
609
|
|
|
610
|
+
@typing.final
|
|
578
611
|
class StreamWebSocketControl(winrt.system.Object):
|
|
579
612
|
@staticmethod
|
|
580
613
|
def _from(obj: winrt.system.Object, /) -> StreamWebSocketControl: ...
|
|
@@ -609,6 +642,7 @@ class StreamWebSocketControl(winrt.system.Object):
|
|
|
609
642
|
@_property
|
|
610
643
|
def ignorable_server_certificate_errors(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[winrt.windows.security.cryptography.certificates.ChainValidationResult]]: ...
|
|
611
644
|
|
|
645
|
+
@typing.final
|
|
612
646
|
class StreamWebSocketInformation(winrt.system.Object):
|
|
613
647
|
@staticmethod
|
|
614
648
|
def _from(obj: winrt.system.Object, /) -> StreamWebSocketInformation: ...
|
|
@@ -627,6 +661,7 @@ class StreamWebSocketInformation(winrt.system.Object):
|
|
|
627
661
|
@_property
|
|
628
662
|
def server_intermediate_certificates(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[winrt.windows.security.cryptography.certificates.Certificate]]: ...
|
|
629
663
|
|
|
664
|
+
@typing.final
|
|
630
665
|
class WebSocketClosedEventArgs(winrt.system.Object):
|
|
631
666
|
@staticmethod
|
|
632
667
|
def _from(obj: winrt.system.Object, /) -> WebSocketClosedEventArgs: ...
|
|
@@ -635,19 +670,23 @@ class WebSocketClosedEventArgs(winrt.system.Object):
|
|
|
635
670
|
@_property
|
|
636
671
|
def reason(self) -> str: ...
|
|
637
672
|
|
|
673
|
+
@typing.final
|
|
638
674
|
class WebSocketError_Static(type):
|
|
639
675
|
def get_status(cls, hresult: winrt.system.Int32, /) -> winrt.windows.web.WebErrorStatus: ...
|
|
640
676
|
|
|
677
|
+
@typing.final
|
|
641
678
|
class WebSocketError(winrt.system.Object, metaclass=WebSocketError_Static):
|
|
642
679
|
@staticmethod
|
|
643
680
|
def _from(obj: winrt.system.Object, /) -> WebSocketError: ...
|
|
644
681
|
|
|
682
|
+
@typing.final
|
|
645
683
|
class WebSocketKeepAlive(winrt.system.Object):
|
|
646
684
|
@staticmethod
|
|
647
685
|
def _from(obj: winrt.system.Object, /) -> WebSocketKeepAlive: ...
|
|
648
686
|
def __new__(cls: typing.Type[WebSocketKeepAlive]) -> WebSocketKeepAlive:...
|
|
649
687
|
def run(self, task_instance: typing.Optional[winrt.windows.applicationmodel.background.IBackgroundTaskInstance], /) -> None: ...
|
|
650
688
|
|
|
689
|
+
@typing.final
|
|
651
690
|
class WebSocketServerCustomValidationRequestedEventArgs(winrt.system.Object):
|
|
652
691
|
@staticmethod
|
|
653
692
|
def _from(obj: winrt.system.Object, /) -> WebSocketServerCustomValidationRequestedEventArgs: ...
|
|
@@ -662,12 +701,14 @@ class WebSocketServerCustomValidationRequestedEventArgs(winrt.system.Object):
|
|
|
662
701
|
@_property
|
|
663
702
|
def server_intermediate_certificates(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[winrt.windows.security.cryptography.certificates.Certificate]]: ...
|
|
664
703
|
|
|
704
|
+
@typing.final
|
|
665
705
|
class IControlChannelTriggerEventDetails(winrt.system.Object):
|
|
666
706
|
@staticmethod
|
|
667
707
|
def _from(obj: winrt.system.Object, /) -> IControlChannelTriggerEventDetails: ...
|
|
668
708
|
@_property
|
|
669
709
|
def control_channel_trigger(self) -> typing.Optional[ControlChannelTrigger]: ...
|
|
670
710
|
|
|
711
|
+
@typing.final
|
|
671
712
|
class IControlChannelTriggerResetEventDetails(winrt.system.Object):
|
|
672
713
|
@staticmethod
|
|
673
714
|
def _from(obj: winrt.system.Object, /) -> IControlChannelTriggerResetEventDetails: ...
|
|
@@ -678,6 +719,7 @@ class IControlChannelTriggerResetEventDetails(winrt.system.Object):
|
|
|
678
719
|
@_property
|
|
679
720
|
def software_slot_reset(self) -> bool: ...
|
|
680
721
|
|
|
722
|
+
@typing.final
|
|
681
723
|
class IWebSocket(winrt.system.Object):
|
|
682
724
|
def __enter__(self: Self) -> Self: ...
|
|
683
725
|
def __exit__(self, *args) -> None: ...
|
|
@@ -694,6 +736,7 @@ class IWebSocket(winrt.system.Object):
|
|
|
694
736
|
@_property
|
|
695
737
|
def output_stream(self) -> typing.Optional[winrt.windows.storage.streams.IOutputStream]: ...
|
|
696
738
|
|
|
739
|
+
@typing.final
|
|
697
740
|
class IWebSocketControl(winrt.system.Object):
|
|
698
741
|
@staticmethod
|
|
699
742
|
def _from(obj: winrt.system.Object, /) -> IWebSocketControl: ...
|
|
@@ -712,6 +755,7 @@ class IWebSocketControl(winrt.system.Object):
|
|
|
712
755
|
@_property
|
|
713
756
|
def supported_protocols(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[str]]: ...
|
|
714
757
|
|
|
758
|
+
@typing.final
|
|
715
759
|
class IWebSocketControl2(winrt.system.Object):
|
|
716
760
|
@staticmethod
|
|
717
761
|
def _from(obj: winrt.system.Object, /) -> IWebSocketControl2: ...
|
|
@@ -732,6 +776,7 @@ class IWebSocketControl2(winrt.system.Object):
|
|
|
732
776
|
@_property
|
|
733
777
|
def supported_protocols(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[str]]: ...
|
|
734
778
|
|
|
779
|
+
@typing.final
|
|
735
780
|
class IWebSocketInformation(winrt.system.Object):
|
|
736
781
|
@staticmethod
|
|
737
782
|
def _from(obj: winrt.system.Object, /) -> IWebSocketInformation: ...
|
|
@@ -742,6 +787,7 @@ class IWebSocketInformation(winrt.system.Object):
|
|
|
742
787
|
@_property
|
|
743
788
|
def protocol(self) -> str: ...
|
|
744
789
|
|
|
790
|
+
@typing.final
|
|
745
791
|
class IWebSocketInformation2(winrt.system.Object):
|
|
746
792
|
@staticmethod
|
|
747
793
|
def _from(obj: winrt.system.Object, /) -> IWebSocketInformation2: ...
|
|
File without changes
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.Networking.Sockets
|
|
3
|
+
Version: 2.0.1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: 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.13,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.0.1
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Background[all]==2.0.1; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Networking[all]==2.0.1; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Networking.Connectivity[all]==2.0.1; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.Security.Credentials[all]==2.0.1; extra == "all"
|
|
23
|
+
Requires-Dist: winrt-Windows.Security.Cryptography.Certificates[all]==2.0.1; extra == "all"
|
|
24
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
|
|
25
|
+
Requires-Dist: winrt-Windows.Web[all]==2.0.1; extra == "all"
|
|
26
|
+
|
|
27
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
28
|
+
|
|
29
|
+
# winrt-Windows.Networking.Sockets
|
|
30
|
+
|
|
31
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Networking.Sockets` namespace.
|
|
32
|
+
|
|
33
|
+
This package provides the `winrt.windows.networking.sockets` module.
|
|
@@ -7,6 +7,7 @@ requirements.txt
|
|
|
7
7
|
setup.py
|
|
8
8
|
winrt/_winrt_windows_networking_sockets.pyi
|
|
9
9
|
winrt/windows/networking/sockets/__init__.py
|
|
10
|
+
winrt/windows/networking/sockets/py.typed
|
|
10
11
|
winrt_Windows.Networking.Sockets.egg-info/PKG-INFO
|
|
11
12
|
winrt_Windows.Networking.Sockets.egg-info/SOURCES.txt
|
|
12
13
|
winrt_Windows.Networking.Sockets.egg-info/dependency_links.txt
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
winrt-runtime==2.0.1
|
|
2
|
+
|
|
3
|
+
[all]
|
|
4
|
+
winrt-Windows.ApplicationModel.Background[all]==2.0.1
|
|
5
|
+
winrt-Windows.Foundation[all]==2.0.1
|
|
6
|
+
winrt-Windows.Foundation.Collections[all]==2.0.1
|
|
7
|
+
winrt-Windows.Networking[all]==2.0.1
|
|
8
|
+
winrt-Windows.Networking.Connectivity[all]==2.0.1
|
|
9
|
+
winrt-Windows.Security.Credentials[all]==2.0.1
|
|
10
|
+
winrt-Windows.Security.Cryptography.Certificates[all]==2.0.1
|
|
11
|
+
winrt-Windows.Storage.Streams[all]==2.0.1
|
|
12
|
+
winrt-Windows.Web[all]==2.0.1
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: winrt-Windows.Networking.Sockets
|
|
3
|
-
Version: 2.0.0b1
|
|
4
|
-
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
6
|
-
Project-URL: Repository, https://github.com/pywrint/pywrinrt
|
|
7
|
-
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
8
|
-
Classifier: Operating System :: Microsoft :: Windows
|
|
9
|
-
Classifier: Programming Language :: Python :: 3
|
|
10
|
-
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
11
|
-
Classifier: Intended Audience :: Developers
|
|
12
|
-
Requires-Python: <3.13,>=3.9
|
|
13
|
-
Description-Content-Type: text/markdown
|
|
14
|
-
Provides-Extra: all
|
|
15
|
-
|
|
16
|
-
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
|
-
|
|
18
|
-
# winrt-Windows.Networking.Sockets
|
|
19
|
-
|
|
20
|
-
Windows Runtime (WinRT) APIs for for the `Windows.Networking.Sockets` namespace.
|
|
21
|
-
|
|
22
|
-
This package provides the `winrt.windows.networking.sockets` module.
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
|
|
2
|
-
|
|
3
|
-
winrt-Windows.ApplicationModel.Background[all]==2.0.0-beta.1
|
|
4
|
-
winrt-Windows.Foundation[all]==2.0.0-beta.1
|
|
5
|
-
winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
|
|
6
|
-
winrt-Windows.Networking[all]==2.0.0-beta.1
|
|
7
|
-
winrt-Windows.Networking.Connectivity[all]==2.0.0-beta.1
|
|
8
|
-
winrt-Windows.Security.Credentials[all]==2.0.0-beta.1
|
|
9
|
-
winrt-Windows.Security.Cryptography.Certificates[all]==2.0.0-beta.1
|
|
10
|
-
winrt-Windows.Storage.Streams[all]==2.0.0-beta.1
|
|
11
|
-
winrt-Windows.Web[all]==2.0.0-beta.1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.0-beta.1
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
-
|
|
3
|
-
from setuptools import Extension, setup
|
|
4
|
-
from winrt_sdk import get_include_dirs
|
|
5
|
-
|
|
6
|
-
setup(
|
|
7
|
-
ext_modules=[
|
|
8
|
-
Extension(
|
|
9
|
-
"winrt._winrt_windows_networking_sockets",
|
|
10
|
-
sources=["py.Windows.Networking.Sockets.cpp"],
|
|
11
|
-
include_dirs=get_include_dirs(),
|
|
12
|
-
extra_compile_args=["/std:c++20", "/permissive-"],
|
|
13
|
-
libraries=["windowsapp"],
|
|
14
|
-
)
|
|
15
|
-
],
|
|
16
|
-
package_data={"winrt": ["*.pyi"]},
|
|
17
|
-
)
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: winrt-Windows.Networking.Sockets
|
|
3
|
-
Version: 2.0.0b1
|
|
4
|
-
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
6
|
-
Project-URL: Repository, https://github.com/pywrint/pywrinrt
|
|
7
|
-
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
8
|
-
Classifier: Operating System :: Microsoft :: Windows
|
|
9
|
-
Classifier: Programming Language :: Python :: 3
|
|
10
|
-
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
11
|
-
Classifier: Intended Audience :: Developers
|
|
12
|
-
Requires-Python: <3.13,>=3.9
|
|
13
|
-
Description-Content-Type: text/markdown
|
|
14
|
-
Provides-Extra: all
|
|
15
|
-
|
|
16
|
-
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
|
-
|
|
18
|
-
# winrt-Windows.Networking.Sockets
|
|
19
|
-
|
|
20
|
-
Windows Runtime (WinRT) APIs for for the `Windows.Networking.Sockets` namespace.
|
|
21
|
-
|
|
22
|
-
This package provides the `winrt.windows.networking.sockets` module.
|
winrt-Windows.Networking.Sockets-2.0.0b1/winrt_Windows.Networking.Sockets.egg-info/requires.txt
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
winrt-runtime==2.0.0-beta.1
|
|
2
|
-
|
|
3
|
-
[all]
|
|
4
|
-
winrt-Windows.ApplicationModel.Background[all]==2.0.0-beta.1
|
|
5
|
-
winrt-Windows.Foundation[all]==2.0.0-beta.1
|
|
6
|
-
winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
|
|
7
|
-
winrt-Windows.Networking[all]==2.0.0-beta.1
|
|
8
|
-
winrt-Windows.Networking.Connectivity[all]==2.0.0-beta.1
|
|
9
|
-
winrt-Windows.Security.Credentials[all]==2.0.0-beta.1
|
|
10
|
-
winrt-Windows.Security.Cryptography.Certificates[all]==2.0.0-beta.1
|
|
11
|
-
winrt-Windows.Storage.Streams[all]==2.0.0-beta.1
|
|
12
|
-
winrt-Windows.Web[all]==2.0.0-beta.1
|
{winrt-Windows.Networking.Sockets-2.0.0b1 → winrt_windows_networking_sockets-2.0.1}/README.md
RENAMED
|
File without changes
|
{winrt-Windows.Networking.Sockets-2.0.0b1 → winrt_windows_networking_sockets-2.0.1}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|