winrt-Windows.Networking.Sockets 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,1003 @@
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.applicationmodel.background as windows_applicationmodel_background
14
+ import winrt.windows.foundation as windows_foundation
15
+ import winrt.windows.foundation.collections as windows_foundation_collections
16
+ import winrt.windows.networking as windows_networking
17
+ import winrt.windows.networking.connectivity as windows_networking_connectivity
18
+ import winrt.windows.security.credentials as windows_security_credentials
19
+ import winrt.windows.security.cryptography.certificates as windows_security_cryptography_certificates
20
+ import winrt.windows.storage.streams as windows_storage_streams
21
+ import winrt.windows.web as windows_web
22
+
23
+ from winrt.windows.networking.sockets import ControlChannelTriggerResetReason, ControlChannelTriggerResourceType, ControlChannelTriggerStatus, MessageWebSocketReceiveMode, SocketActivityConnectedStandbyAction, SocketActivityKind, SocketActivityTriggerReason, SocketErrorStatus, SocketMessageType, SocketProtectionLevel, SocketQualityOfService, SocketSslErrorSeverity
24
+
25
+ Self = typing.TypeVar('Self')
26
+
27
+ @typing.final
28
+ class BandwidthStatistics:
29
+ @_property
30
+ def outbound_bits_per_second(self) -> winrt.system.UInt64: ...
31
+ @_property
32
+ def inbound_bits_per_second(self) -> winrt.system.UInt64: ...
33
+ @_property
34
+ def outbound_bits_per_second_instability(self) -> winrt.system.UInt64: ...
35
+ @_property
36
+ def inbound_bits_per_second_instability(self) -> winrt.system.UInt64: ...
37
+ @_property
38
+ def outbound_bandwidth_peaked(self) -> bool: ...
39
+ @_property
40
+ def inbound_bandwidth_peaked(self) -> bool: ...
41
+ def __new__(cls, outbound_bits_per_second: winrt.system.UInt64 = 0, inbound_bits_per_second: winrt.system.UInt64 = 0, outbound_bits_per_second_instability: winrt.system.UInt64 = 0, inbound_bits_per_second_instability: winrt.system.UInt64 = 0, outbound_bandwidth_peaked: bool = False, inbound_bandwidth_peaked: bool = False) -> BandwidthStatistics: ...
42
+ def __replace__(self, /, **changes: typing.Any) -> BandwidthStatistics: ...
43
+ def unpack(self) -> typing.Tuple[winrt.system.UInt64, winrt.system.UInt64, winrt.system.UInt64, winrt.system.UInt64, bool, bool]: ...
44
+
45
+ @typing.final
46
+ class RoundTripTimeStatistics:
47
+ @_property
48
+ def variance(self) -> winrt.system.UInt32: ...
49
+ @_property
50
+ def max(self) -> winrt.system.UInt32: ...
51
+ @_property
52
+ def min(self) -> winrt.system.UInt32: ...
53
+ @_property
54
+ def sum(self) -> winrt.system.UInt32: ...
55
+ def __new__(cls, variance: winrt.system.UInt32 = 0, max: winrt.system.UInt32 = 0, min: winrt.system.UInt32 = 0, sum: winrt.system.UInt32 = 0) -> RoundTripTimeStatistics: ...
56
+ def __replace__(self, /, **changes: typing.Any) -> RoundTripTimeStatistics: ...
57
+ def unpack(self) -> typing.Tuple[winrt.system.UInt32, winrt.system.UInt32, winrt.system.UInt32, winrt.system.UInt32]: ...
58
+
59
+ @typing.final
60
+ class ControlChannelTrigger(winrt.system.Object, windows_foundation.IClosable):
61
+ def __enter__(self: Self) -> Self: ...
62
+ def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
63
+ @typing.overload
64
+ def __new__(cls: typing.Type[Self], channel_id: str, server_keep_alive_interval_in_minutes: winrt.system.UInt32) -> Self: ...
65
+ @typing.overload
66
+ def __new__(cls: typing.Type[Self], channel_id: str, server_keep_alive_interval_in_minutes: winrt.system.UInt32, resource_request_type: ControlChannelTriggerResourceType) -> Self: ...
67
+ # System.Void Windows.Networking.Sockets.ControlChannelTrigger::Close()
68
+ def close(self) -> None: ...
69
+ # System.Void Windows.Networking.Sockets.ControlChannelTrigger::DecreaseNetworkKeepAliveInterval()
70
+ def decrease_network_keep_alive_interval(self) -> None: ...
71
+ # System.Void Windows.Networking.Sockets.ControlChannelTrigger::FlushTransport()
72
+ def flush_transport(self) -> None: ...
73
+ # System.Void Windows.Networking.Sockets.ControlChannelTrigger::UsingTransport(System.Object)
74
+ def using_transport(self, transport: winrt.system.Object, /) -> None: ...
75
+ # Windows.Networking.Sockets.ControlChannelTriggerStatus Windows.Networking.Sockets.ControlChannelTrigger::WaitForPushEnabled()
76
+ def wait_for_push_enabled(self) -> ControlChannelTriggerStatus: ...
77
+ # System.UInt32 Windows.Networking.Sockets.ControlChannelTrigger::get_ServerKeepAliveIntervalInMinutes()
78
+ @_property
79
+ def server_keep_alive_interval_in_minutes(self) -> winrt.system.UInt32: ...
80
+ # System.Void Windows.Networking.Sockets.ControlChannelTrigger::put_ServerKeepAliveIntervalInMinutes(System.UInt32)
81
+ @server_keep_alive_interval_in_minutes.setter
82
+ def server_keep_alive_interval_in_minutes(self, value: winrt.system.UInt32) -> None: ...
83
+ # System.String Windows.Networking.Sockets.ControlChannelTrigger::get_ControlChannelTriggerId()
84
+ @_property
85
+ def control_channel_trigger_id(self) -> str: ...
86
+ # System.UInt32 Windows.Networking.Sockets.ControlChannelTrigger::get_CurrentKeepAliveIntervalInMinutes()
87
+ @_property
88
+ def current_keep_alive_interval_in_minutes(self) -> winrt.system.UInt32: ...
89
+ # Windows.ApplicationModel.Background.IBackgroundTrigger Windows.Networking.Sockets.ControlChannelTrigger::get_KeepAliveTrigger()
90
+ @_property
91
+ def keep_alive_trigger(self) -> windows_applicationmodel_background.IBackgroundTrigger: ...
92
+ # Windows.ApplicationModel.Background.IBackgroundTrigger Windows.Networking.Sockets.ControlChannelTrigger::get_PushNotificationTrigger()
93
+ @_property
94
+ def push_notification_trigger(self) -> windows_applicationmodel_background.IBackgroundTrigger: ...
95
+ # System.Object Windows.Networking.Sockets.ControlChannelTrigger::get_TransportObject()
96
+ @_property
97
+ def transport_object(self) -> winrt.system.Object: ...
98
+ # System.Boolean Windows.Networking.Sockets.ControlChannelTrigger::get_IsWakeFromLowPowerSupported()
99
+ @_property
100
+ def is_wake_from_low_power_supported(self) -> bool: ...
101
+
102
+ @typing.final
103
+ class DatagramSocket_Static(winrt._winrt.IInspectable_Static):
104
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Networking.EndpointPair>> Windows.Networking.Sockets.DatagramSocket::GetEndpointPairsAsync(Windows.Networking.HostName,System.String)
105
+ def get_endpoint_pairs_async(cls, remote_host_name: windows_networking.HostName, remote_service_name: str, /) -> windows_foundation.IAsyncOperation[typing.Sequence[windows_networking.EndpointPair]]: ...
106
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Networking.EndpointPair>> Windows.Networking.Sockets.DatagramSocket::GetEndpointPairsAsync(Windows.Networking.HostName,System.String,Windows.Networking.HostNameSortOptions)
107
+ def get_endpoint_pairs_with_sort_options_async(cls, remote_host_name: windows_networking.HostName, remote_service_name: str, sort_options: windows_networking.HostNameSortOptions, /) -> windows_foundation.IAsyncOperation[typing.Sequence[windows_networking.EndpointPair]]: ...
108
+
109
+ @typing.final
110
+ class DatagramSocket(winrt.system.Object, windows_foundation.IClosable, metaclass=DatagramSocket_Static):
111
+ def __enter__(self: Self) -> Self: ...
112
+ def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
113
+ def __new__(cls: typing.Type[Self]) -> Self: ...
114
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.DatagramSocket::BindEndpointAsync(Windows.Networking.HostName,System.String)
115
+ def bind_endpoint_async(self, local_host_name: windows_networking.HostName, local_service_name: str, /) -> windows_foundation.IAsyncAction: ...
116
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.DatagramSocket::BindServiceNameAsync(System.String,Windows.Networking.Connectivity.NetworkAdapter)
117
+ def bind_service_name_and_adapter_async(self, local_service_name: str, adapter: windows_networking_connectivity.NetworkAdapter, /) -> windows_foundation.IAsyncAction: ...
118
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.DatagramSocket::BindServiceNameAsync(System.String)
119
+ def bind_service_name_async(self, local_service_name: str, /) -> windows_foundation.IAsyncAction: ...
120
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.DatagramSocket::CancelIOAsync()
121
+ def cancel_io_async(self) -> windows_foundation.IAsyncAction: ...
122
+ # System.Void Windows.Networking.Sockets.DatagramSocket::Close()
123
+ def close(self) -> None: ...
124
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.DatagramSocket::ConnectAsync(Windows.Networking.HostName,System.String)
125
+ def connect_async(self, remote_host_name: windows_networking.HostName, remote_service_name: str, /) -> windows_foundation.IAsyncAction: ...
126
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.DatagramSocket::ConnectAsync(Windows.Networking.EndpointPair)
127
+ def connect_with_endpoint_pair_async(self, endpoint_pair: windows_networking.EndpointPair, /) -> windows_foundation.IAsyncAction: ...
128
+ # System.Void Windows.Networking.Sockets.DatagramSocket::EnableTransferOwnership(System.Guid)
129
+ def enable_transfer_ownership(self, task_id: _uuid.UUID, /) -> None: ...
130
+ # System.Void Windows.Networking.Sockets.DatagramSocket::EnableTransferOwnership(System.Guid,Windows.Networking.Sockets.SocketActivityConnectedStandbyAction)
131
+ def enable_transfer_ownership_with_connected_standby_action(self, task_id: _uuid.UUID, connected_standby_action: SocketActivityConnectedStandbyAction, /) -> None: ...
132
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IOutputStream> Windows.Networking.Sockets.DatagramSocket::GetOutputStreamAsync(Windows.Networking.HostName,System.String)
133
+ def get_output_stream_async(self, remote_host_name: windows_networking.HostName, remote_service_name: str, /) -> windows_foundation.IAsyncOperation[windows_storage_streams.IOutputStream]: ...
134
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IOutputStream> Windows.Networking.Sockets.DatagramSocket::GetOutputStreamAsync(Windows.Networking.EndpointPair)
135
+ def get_output_stream_with_endpoint_pair_async(self, endpoint_pair: windows_networking.EndpointPair, /) -> windows_foundation.IAsyncOperation[windows_storage_streams.IOutputStream]: ...
136
+ # System.Void Windows.Networking.Sockets.DatagramSocket::JoinMulticastGroup(Windows.Networking.HostName)
137
+ def join_multicast_group(self, host: windows_networking.HostName, /) -> None: ...
138
+ # System.Void Windows.Networking.Sockets.DatagramSocket::TransferOwnership(System.String)
139
+ def transfer_ownership(self, socket_id: str, /) -> None: ...
140
+ # System.Void Windows.Networking.Sockets.DatagramSocket::TransferOwnership(System.String,Windows.Networking.Sockets.SocketActivityContext)
141
+ def transfer_ownership_with_context(self, socket_id: str, data: SocketActivityContext, /) -> None: ...
142
+ # System.Void Windows.Networking.Sockets.DatagramSocket::TransferOwnership(System.String,Windows.Networking.Sockets.SocketActivityContext,Windows.Foundation.TimeSpan)
143
+ def transfer_ownership_with_context_and_keep_alive_time(self, socket_id: str, data: SocketActivityContext, keep_alive_time: datetime.timedelta, /) -> None: ...
144
+ # Windows.Foundation.EventRegistrationToken Windows.Networking.Sockets.DatagramSocket::add_MessageReceived(Windows.Foundation.TypedEventHandler`2<Windows.Networking.Sockets.DatagramSocket,Windows.Networking.Sockets.DatagramSocketMessageReceivedEventArgs>)
145
+ def add_message_received(self, event_handler: windows_foundation.TypedEventHandler[DatagramSocket, DatagramSocketMessageReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
146
+ # System.Void Windows.Networking.Sockets.DatagramSocket::remove_MessageReceived(Windows.Foundation.EventRegistrationToken)
147
+ def remove_message_received(self, event_cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
148
+ # Windows.Networking.Sockets.DatagramSocketControl Windows.Networking.Sockets.DatagramSocket::get_Control()
149
+ @_property
150
+ def control(self) -> DatagramSocketControl: ...
151
+ # Windows.Networking.Sockets.DatagramSocketInformation Windows.Networking.Sockets.DatagramSocket::get_Information()
152
+ @_property
153
+ def information(self) -> DatagramSocketInformation: ...
154
+ # Windows.Storage.Streams.IOutputStream Windows.Networking.Sockets.DatagramSocket::get_OutputStream()
155
+ @_property
156
+ def output_stream(self) -> windows_storage_streams.IOutputStream: ...
157
+
158
+ @typing.final
159
+ class DatagramSocketControl(winrt.system.Object):
160
+ # Windows.Networking.Sockets.SocketQualityOfService Windows.Networking.Sockets.DatagramSocketControl::get_QualityOfService()
161
+ @_property
162
+ def quality_of_service(self) -> SocketQualityOfService: ...
163
+ # System.Void Windows.Networking.Sockets.DatagramSocketControl::put_QualityOfService(Windows.Networking.Sockets.SocketQualityOfService)
164
+ @quality_of_service.setter
165
+ def quality_of_service(self, value: SocketQualityOfService) -> None: ...
166
+ # System.Byte Windows.Networking.Sockets.DatagramSocketControl::get_OutboundUnicastHopLimit()
167
+ @_property
168
+ def outbound_unicast_hop_limit(self) -> winrt.system.UInt8: ...
169
+ # System.Void Windows.Networking.Sockets.DatagramSocketControl::put_OutboundUnicastHopLimit(System.Byte)
170
+ @outbound_unicast_hop_limit.setter
171
+ def outbound_unicast_hop_limit(self, value: winrt.system.UInt8) -> None: ...
172
+ # System.UInt32 Windows.Networking.Sockets.DatagramSocketControl::get_InboundBufferSizeInBytes()
173
+ @_property
174
+ def inbound_buffer_size_in_bytes(self) -> winrt.system.UInt32: ...
175
+ # System.Void Windows.Networking.Sockets.DatagramSocketControl::put_InboundBufferSizeInBytes(System.UInt32)
176
+ @inbound_buffer_size_in_bytes.setter
177
+ def inbound_buffer_size_in_bytes(self, value: winrt.system.UInt32) -> None: ...
178
+ # System.Boolean Windows.Networking.Sockets.DatagramSocketControl::get_DontFragment()
179
+ @_property
180
+ def dont_fragment(self) -> bool: ...
181
+ # System.Void Windows.Networking.Sockets.DatagramSocketControl::put_DontFragment(System.Boolean)
182
+ @dont_fragment.setter
183
+ def dont_fragment(self, value: bool) -> None: ...
184
+ # System.Boolean Windows.Networking.Sockets.DatagramSocketControl::get_MulticastOnly()
185
+ @_property
186
+ def multicast_only(self) -> bool: ...
187
+ # System.Void Windows.Networking.Sockets.DatagramSocketControl::put_MulticastOnly(System.Boolean)
188
+ @multicast_only.setter
189
+ def multicast_only(self, value: bool) -> None: ...
190
+
191
+ @typing.final
192
+ class DatagramSocketInformation(winrt.system.Object):
193
+ # Windows.Networking.HostName Windows.Networking.Sockets.DatagramSocketInformation::get_LocalAddress()
194
+ @_property
195
+ def local_address(self) -> windows_networking.HostName: ...
196
+ # System.String Windows.Networking.Sockets.DatagramSocketInformation::get_LocalPort()
197
+ @_property
198
+ def local_port(self) -> str: ...
199
+ # Windows.Networking.HostName Windows.Networking.Sockets.DatagramSocketInformation::get_RemoteAddress()
200
+ @_property
201
+ def remote_address(self) -> windows_networking.HostName: ...
202
+ # System.String Windows.Networking.Sockets.DatagramSocketInformation::get_RemotePort()
203
+ @_property
204
+ def remote_port(self) -> str: ...
205
+
206
+ @typing.final
207
+ class DatagramSocketMessageReceivedEventArgs(winrt.system.Object):
208
+ # Windows.Storage.Streams.DataReader Windows.Networking.Sockets.DatagramSocketMessageReceivedEventArgs::GetDataReader()
209
+ def get_data_reader(self) -> windows_storage_streams.DataReader: ...
210
+ # Windows.Storage.Streams.IInputStream Windows.Networking.Sockets.DatagramSocketMessageReceivedEventArgs::GetDataStream()
211
+ def get_data_stream(self) -> windows_storage_streams.IInputStream: ...
212
+ # Windows.Networking.HostName Windows.Networking.Sockets.DatagramSocketMessageReceivedEventArgs::get_LocalAddress()
213
+ @_property
214
+ def local_address(self) -> windows_networking.HostName: ...
215
+ # Windows.Networking.HostName Windows.Networking.Sockets.DatagramSocketMessageReceivedEventArgs::get_RemoteAddress()
216
+ @_property
217
+ def remote_address(self) -> windows_networking.HostName: ...
218
+ # System.String Windows.Networking.Sockets.DatagramSocketMessageReceivedEventArgs::get_RemotePort()
219
+ @_property
220
+ def remote_port(self) -> str: ...
221
+
222
+ @typing.final
223
+ class MessageWebSocket(winrt.system.Object, IWebSocket, windows_foundation.IClosable):
224
+ def __enter__(self: Self) -> Self: ...
225
+ def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
226
+ def __new__(cls: typing.Type[Self]) -> Self: ...
227
+ # System.Void Windows.Networking.Sockets.MessageWebSocket::Close()
228
+ def close(self) -> None: ...
229
+ # System.Void Windows.Networking.Sockets.MessageWebSocket::Close(System.UInt16,System.String)
230
+ def close_with_status(self, code: winrt.system.UInt16, reason: str, /) -> None: ...
231
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.MessageWebSocket::ConnectAsync(Windows.Foundation.Uri)
232
+ def connect_async(self, uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncAction: ...
233
+ # Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.Networking.Sockets.MessageWebSocket::SendFinalFrameAsync(Windows.Storage.Streams.IBuffer)
234
+ def send_final_frame_async(self, data: winrt.system.Buffer, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
235
+ # Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.Networking.Sockets.MessageWebSocket::SendNonfinalFrameAsync(Windows.Storage.Streams.IBuffer)
236
+ def send_nonfinal_frame_async(self, data: winrt.system.Buffer, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
237
+ # System.Void Windows.Networking.Sockets.MessageWebSocket::SetRequestHeader(System.String,System.String)
238
+ def set_request_header(self, header_name: str, header_value: str, /) -> None: ...
239
+ # Windows.Foundation.EventRegistrationToken Windows.Networking.Sockets.MessageWebSocket::add_MessageReceived(Windows.Foundation.TypedEventHandler`2<Windows.Networking.Sockets.MessageWebSocket,Windows.Networking.Sockets.MessageWebSocketMessageReceivedEventArgs>)
240
+ def add_message_received(self, event_handler: windows_foundation.TypedEventHandler[MessageWebSocket, MessageWebSocketMessageReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
241
+ # System.Void Windows.Networking.Sockets.MessageWebSocket::remove_MessageReceived(Windows.Foundation.EventRegistrationToken)
242
+ def remove_message_received(self, event_cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
243
+ # Windows.Foundation.EventRegistrationToken Windows.Networking.Sockets.MessageWebSocket::add_Closed(Windows.Foundation.TypedEventHandler`2<Windows.Networking.Sockets.IWebSocket,Windows.Networking.Sockets.WebSocketClosedEventArgs>)
244
+ def add_closed(self, event_handler: windows_foundation.TypedEventHandler[IWebSocket, WebSocketClosedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
245
+ # System.Void Windows.Networking.Sockets.MessageWebSocket::remove_Closed(Windows.Foundation.EventRegistrationToken)
246
+ def remove_closed(self, event_cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
247
+ # Windows.Foundation.EventRegistrationToken Windows.Networking.Sockets.MessageWebSocket::add_ServerCustomValidationRequested(Windows.Foundation.TypedEventHandler`2<Windows.Networking.Sockets.MessageWebSocket,Windows.Networking.Sockets.WebSocketServerCustomValidationRequestedEventArgs>)
248
+ def add_server_custom_validation_requested(self, event_handler: windows_foundation.TypedEventHandler[MessageWebSocket, WebSocketServerCustomValidationRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
249
+ # System.Void Windows.Networking.Sockets.MessageWebSocket::remove_ServerCustomValidationRequested(Windows.Foundation.EventRegistrationToken)
250
+ def remove_server_custom_validation_requested(self, event_cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
251
+ # Windows.Networking.Sockets.MessageWebSocketControl Windows.Networking.Sockets.MessageWebSocket::get_Control()
252
+ @_property
253
+ def control(self) -> MessageWebSocketControl: ...
254
+ # Windows.Networking.Sockets.MessageWebSocketInformation Windows.Networking.Sockets.MessageWebSocket::get_Information()
255
+ @_property
256
+ def information(self) -> MessageWebSocketInformation: ...
257
+ # Windows.Storage.Streams.IOutputStream Windows.Networking.Sockets.MessageWebSocket::get_OutputStream()
258
+ @_property
259
+ def output_stream(self) -> windows_storage_streams.IOutputStream: ...
260
+
261
+ @typing.final
262
+ class MessageWebSocketControl(winrt.system.Object, IWebSocketControl2, IWebSocketControl):
263
+ # Windows.Networking.Sockets.SocketMessageType Windows.Networking.Sockets.MessageWebSocketControl::get_MessageType()
264
+ @_property
265
+ def message_type(self) -> SocketMessageType: ...
266
+ # System.Void Windows.Networking.Sockets.MessageWebSocketControl::put_MessageType(Windows.Networking.Sockets.SocketMessageType)
267
+ @message_type.setter
268
+ def message_type(self, value: SocketMessageType) -> None: ...
269
+ # System.UInt32 Windows.Networking.Sockets.MessageWebSocketControl::get_MaxMessageSize()
270
+ @_property
271
+ def max_message_size(self) -> winrt.system.UInt32: ...
272
+ # System.Void Windows.Networking.Sockets.MessageWebSocketControl::put_MaxMessageSize(System.UInt32)
273
+ @max_message_size.setter
274
+ def max_message_size(self, value: winrt.system.UInt32) -> None: ...
275
+ # Windows.Networking.Sockets.MessageWebSocketReceiveMode Windows.Networking.Sockets.MessageWebSocketControl::get_ReceiveMode()
276
+ @_property
277
+ def receive_mode(self) -> MessageWebSocketReceiveMode: ...
278
+ # System.Void Windows.Networking.Sockets.MessageWebSocketControl::put_ReceiveMode(Windows.Networking.Sockets.MessageWebSocketReceiveMode)
279
+ @receive_mode.setter
280
+ def receive_mode(self, value: MessageWebSocketReceiveMode) -> None: ...
281
+ # Windows.Foundation.TimeSpan Windows.Networking.Sockets.MessageWebSocketControl::get_DesiredUnsolicitedPongInterval()
282
+ @_property
283
+ def desired_unsolicited_pong_interval(self) -> datetime.timedelta: ...
284
+ # System.Void Windows.Networking.Sockets.MessageWebSocketControl::put_DesiredUnsolicitedPongInterval(Windows.Foundation.TimeSpan)
285
+ @desired_unsolicited_pong_interval.setter
286
+ def desired_unsolicited_pong_interval(self, value: datetime.timedelta) -> None: ...
287
+ # Windows.Security.Cryptography.Certificates.Certificate Windows.Networking.Sockets.MessageWebSocketControl::get_ClientCertificate()
288
+ @_property
289
+ def client_certificate(self) -> windows_security_cryptography_certificates.Certificate: ...
290
+ # System.Void Windows.Networking.Sockets.MessageWebSocketControl::put_ClientCertificate(Windows.Security.Cryptography.Certificates.Certificate)
291
+ @client_certificate.setter
292
+ def client_certificate(self, value: windows_security_cryptography_certificates.Certificate) -> None: ...
293
+ # Windows.Foundation.TimeSpan Windows.Networking.Sockets.MessageWebSocketControl::get_ActualUnsolicitedPongInterval()
294
+ @_property
295
+ def actual_unsolicited_pong_interval(self) -> datetime.timedelta: ...
296
+ # Windows.Security.Credentials.PasswordCredential Windows.Networking.Sockets.MessageWebSocketControl::get_ServerCredential()
297
+ @_property
298
+ def server_credential(self) -> windows_security_credentials.PasswordCredential: ...
299
+ # System.Void Windows.Networking.Sockets.MessageWebSocketControl::put_ServerCredential(Windows.Security.Credentials.PasswordCredential)
300
+ @server_credential.setter
301
+ def server_credential(self, value: windows_security_credentials.PasswordCredential) -> None: ...
302
+ # Windows.Security.Credentials.PasswordCredential Windows.Networking.Sockets.MessageWebSocketControl::get_ProxyCredential()
303
+ @_property
304
+ def proxy_credential(self) -> windows_security_credentials.PasswordCredential: ...
305
+ # System.Void Windows.Networking.Sockets.MessageWebSocketControl::put_ProxyCredential(Windows.Security.Credentials.PasswordCredential)
306
+ @proxy_credential.setter
307
+ def proxy_credential(self, value: windows_security_credentials.PasswordCredential) -> None: ...
308
+ # System.UInt32 Windows.Networking.Sockets.MessageWebSocketControl::get_OutboundBufferSizeInBytes()
309
+ @_property
310
+ def outbound_buffer_size_in_bytes(self) -> winrt.system.UInt32: ...
311
+ # System.Void Windows.Networking.Sockets.MessageWebSocketControl::put_OutboundBufferSizeInBytes(System.UInt32)
312
+ @outbound_buffer_size_in_bytes.setter
313
+ def outbound_buffer_size_in_bytes(self, value: winrt.system.UInt32) -> None: ...
314
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Networking.Sockets.MessageWebSocketControl::get_SupportedProtocols()
315
+ @_property
316
+ def supported_protocols(self) -> typing.MutableSequence[str]: ...
317
+ # Windows.Foundation.Collections.IVector`1<Windows.Security.Cryptography.Certificates.ChainValidationResult> Windows.Networking.Sockets.MessageWebSocketControl::get_IgnorableServerCertificateErrors()
318
+ @_property
319
+ def ignorable_server_certificate_errors(self) -> typing.MutableSequence[windows_security_cryptography_certificates.ChainValidationResult]: ...
320
+
321
+ @typing.final
322
+ class MessageWebSocketInformation(winrt.system.Object, IWebSocketInformation2, IWebSocketInformation):
323
+ # Windows.Networking.Sockets.BandwidthStatistics Windows.Networking.Sockets.MessageWebSocketInformation::get_BandwidthStatistics()
324
+ @_property
325
+ def bandwidth_statistics(self) -> BandwidthStatistics: ...
326
+ # Windows.Networking.HostName Windows.Networking.Sockets.MessageWebSocketInformation::get_LocalAddress()
327
+ @_property
328
+ def local_address(self) -> windows_networking.HostName: ...
329
+ # System.String Windows.Networking.Sockets.MessageWebSocketInformation::get_Protocol()
330
+ @_property
331
+ def protocol(self) -> str: ...
332
+ # Windows.Security.Cryptography.Certificates.Certificate Windows.Networking.Sockets.MessageWebSocketInformation::get_ServerCertificate()
333
+ @_property
334
+ def server_certificate(self) -> windows_security_cryptography_certificates.Certificate: ...
335
+ # Windows.Networking.Sockets.SocketSslErrorSeverity Windows.Networking.Sockets.MessageWebSocketInformation::get_ServerCertificateErrorSeverity()
336
+ @_property
337
+ def server_certificate_error_severity(self) -> SocketSslErrorSeverity: ...
338
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Security.Cryptography.Certificates.ChainValidationResult> Windows.Networking.Sockets.MessageWebSocketInformation::get_ServerCertificateErrors()
339
+ @_property
340
+ def server_certificate_errors(self) -> typing.Sequence[windows_security_cryptography_certificates.ChainValidationResult]: ...
341
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Security.Cryptography.Certificates.Certificate> Windows.Networking.Sockets.MessageWebSocketInformation::get_ServerIntermediateCertificates()
342
+ @_property
343
+ def server_intermediate_certificates(self) -> typing.Sequence[windows_security_cryptography_certificates.Certificate]: ...
344
+
345
+ @typing.final
346
+ class MessageWebSocketMessageReceivedEventArgs(winrt.system.Object):
347
+ # Windows.Storage.Streams.DataReader Windows.Networking.Sockets.MessageWebSocketMessageReceivedEventArgs::GetDataReader()
348
+ def get_data_reader(self) -> windows_storage_streams.DataReader: ...
349
+ # Windows.Storage.Streams.IInputStream Windows.Networking.Sockets.MessageWebSocketMessageReceivedEventArgs::GetDataStream()
350
+ def get_data_stream(self) -> windows_storage_streams.IInputStream: ...
351
+ # Windows.Networking.Sockets.SocketMessageType Windows.Networking.Sockets.MessageWebSocketMessageReceivedEventArgs::get_MessageType()
352
+ @_property
353
+ def message_type(self) -> SocketMessageType: ...
354
+ # System.Boolean Windows.Networking.Sockets.MessageWebSocketMessageReceivedEventArgs::get_IsMessageComplete()
355
+ @_property
356
+ def is_message_complete(self) -> bool: ...
357
+
358
+ @typing.final
359
+ class ServerMessageWebSocket(winrt.system.Object, windows_foundation.IClosable):
360
+ def __enter__(self: Self) -> Self: ...
361
+ def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
362
+ # System.Void Windows.Networking.Sockets.ServerMessageWebSocket::Close()
363
+ def close(self) -> None: ...
364
+ # System.Void Windows.Networking.Sockets.ServerMessageWebSocket::Close(System.UInt16,System.String)
365
+ def close_with_status(self, code: winrt.system.UInt16, reason: str, /) -> None: ...
366
+ # Windows.Foundation.EventRegistrationToken Windows.Networking.Sockets.ServerMessageWebSocket::add_Closed(Windows.Foundation.TypedEventHandler`2<Windows.Networking.Sockets.ServerMessageWebSocket,Windows.Networking.Sockets.WebSocketClosedEventArgs>)
367
+ def add_closed(self, value: windows_foundation.TypedEventHandler[ServerMessageWebSocket, WebSocketClosedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
368
+ # System.Void Windows.Networking.Sockets.ServerMessageWebSocket::remove_Closed(Windows.Foundation.EventRegistrationToken)
369
+ def remove_closed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
370
+ # Windows.Foundation.EventRegistrationToken Windows.Networking.Sockets.ServerMessageWebSocket::add_MessageReceived(Windows.Foundation.TypedEventHandler`2<Windows.Networking.Sockets.ServerMessageWebSocket,Windows.Networking.Sockets.MessageWebSocketMessageReceivedEventArgs>)
371
+ def add_message_received(self, value: windows_foundation.TypedEventHandler[ServerMessageWebSocket, MessageWebSocketMessageReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
372
+ # System.Void Windows.Networking.Sockets.ServerMessageWebSocket::remove_MessageReceived(Windows.Foundation.EventRegistrationToken)
373
+ def remove_message_received(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
374
+ # Windows.Networking.Sockets.ServerMessageWebSocketControl Windows.Networking.Sockets.ServerMessageWebSocket::get_Control()
375
+ @_property
376
+ def control(self) -> ServerMessageWebSocketControl: ...
377
+ # Windows.Networking.Sockets.ServerMessageWebSocketInformation Windows.Networking.Sockets.ServerMessageWebSocket::get_Information()
378
+ @_property
379
+ def information(self) -> ServerMessageWebSocketInformation: ...
380
+ # Windows.Storage.Streams.IOutputStream Windows.Networking.Sockets.ServerMessageWebSocket::get_OutputStream()
381
+ @_property
382
+ def output_stream(self) -> windows_storage_streams.IOutputStream: ...
383
+
384
+ @typing.final
385
+ class ServerMessageWebSocketControl(winrt.system.Object):
386
+ # Windows.Networking.Sockets.SocketMessageType Windows.Networking.Sockets.ServerMessageWebSocketControl::get_MessageType()
387
+ @_property
388
+ def message_type(self) -> SocketMessageType: ...
389
+ # System.Void Windows.Networking.Sockets.ServerMessageWebSocketControl::put_MessageType(Windows.Networking.Sockets.SocketMessageType)
390
+ @message_type.setter
391
+ def message_type(self, value: SocketMessageType) -> None: ...
392
+
393
+ @typing.final
394
+ class ServerMessageWebSocketInformation(winrt.system.Object):
395
+ # Windows.Networking.Sockets.BandwidthStatistics Windows.Networking.Sockets.ServerMessageWebSocketInformation::get_BandwidthStatistics()
396
+ @_property
397
+ def bandwidth_statistics(self) -> BandwidthStatistics: ...
398
+ # Windows.Networking.HostName Windows.Networking.Sockets.ServerMessageWebSocketInformation::get_LocalAddress()
399
+ @_property
400
+ def local_address(self) -> windows_networking.HostName: ...
401
+ # System.String Windows.Networking.Sockets.ServerMessageWebSocketInformation::get_Protocol()
402
+ @_property
403
+ def protocol(self) -> str: ...
404
+
405
+ @typing.final
406
+ class ServerStreamWebSocket(winrt.system.Object, windows_foundation.IClosable):
407
+ def __enter__(self: Self) -> Self: ...
408
+ def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
409
+ # System.Void Windows.Networking.Sockets.ServerStreamWebSocket::Close()
410
+ def close(self) -> None: ...
411
+ # System.Void Windows.Networking.Sockets.ServerStreamWebSocket::Close(System.UInt16,System.String)
412
+ def close_with_status(self, code: winrt.system.UInt16, reason: str, /) -> None: ...
413
+ # Windows.Foundation.EventRegistrationToken Windows.Networking.Sockets.ServerStreamWebSocket::add_Closed(Windows.Foundation.TypedEventHandler`2<Windows.Networking.Sockets.ServerStreamWebSocket,Windows.Networking.Sockets.WebSocketClosedEventArgs>)
414
+ def add_closed(self, value: windows_foundation.TypedEventHandler[ServerStreamWebSocket, WebSocketClosedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
415
+ # System.Void Windows.Networking.Sockets.ServerStreamWebSocket::remove_Closed(Windows.Foundation.EventRegistrationToken)
416
+ def remove_closed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
417
+ # Windows.Networking.Sockets.ServerStreamWebSocketInformation Windows.Networking.Sockets.ServerStreamWebSocket::get_Information()
418
+ @_property
419
+ def information(self) -> ServerStreamWebSocketInformation: ...
420
+ # Windows.Storage.Streams.IInputStream Windows.Networking.Sockets.ServerStreamWebSocket::get_InputStream()
421
+ @_property
422
+ def input_stream(self) -> windows_storage_streams.IInputStream: ...
423
+ # Windows.Storage.Streams.IOutputStream Windows.Networking.Sockets.ServerStreamWebSocket::get_OutputStream()
424
+ @_property
425
+ def output_stream(self) -> windows_storage_streams.IOutputStream: ...
426
+
427
+ @typing.final
428
+ class ServerStreamWebSocketInformation(winrt.system.Object):
429
+ # Windows.Networking.Sockets.BandwidthStatistics Windows.Networking.Sockets.ServerStreamWebSocketInformation::get_BandwidthStatistics()
430
+ @_property
431
+ def bandwidth_statistics(self) -> BandwidthStatistics: ...
432
+ # Windows.Networking.HostName Windows.Networking.Sockets.ServerStreamWebSocketInformation::get_LocalAddress()
433
+ @_property
434
+ def local_address(self) -> windows_networking.HostName: ...
435
+ # System.String Windows.Networking.Sockets.ServerStreamWebSocketInformation::get_Protocol()
436
+ @_property
437
+ def protocol(self) -> str: ...
438
+
439
+ @typing.final
440
+ class SocketActivityContext(winrt.system.Object):
441
+ def __new__(cls: typing.Type[Self], data: winrt.system.Buffer) -> Self: ...
442
+ # Windows.Storage.Streams.IBuffer Windows.Networking.Sockets.SocketActivityContext::get_Data()
443
+ @_property
444
+ def data(self) -> winrt.system.Buffer: ...
445
+
446
+ @typing.final
447
+ class SocketActivityInformation_Static(winrt._winrt.IInspectable_Static):
448
+ # Windows.Foundation.Collections.IMapView`2<System.String,Windows.Networking.Sockets.SocketActivityInformation> Windows.Networking.Sockets.SocketActivityInformation::get_AllSockets()
449
+ @_property
450
+ def all_sockets(cls) -> typing.Mapping[str, SocketActivityInformation]: ...
451
+
452
+ @typing.final
453
+ class SocketActivityInformation(winrt.system.Object, metaclass=SocketActivityInformation_Static):
454
+ # Windows.Networking.Sockets.SocketActivityContext Windows.Networking.Sockets.SocketActivityInformation::get_Context()
455
+ @_property
456
+ def context(self) -> SocketActivityContext: ...
457
+ # Windows.Networking.Sockets.DatagramSocket Windows.Networking.Sockets.SocketActivityInformation::get_DatagramSocket()
458
+ @_property
459
+ def datagram_socket(self) -> DatagramSocket: ...
460
+ # System.String Windows.Networking.Sockets.SocketActivityInformation::get_Id()
461
+ @_property
462
+ def id(self) -> str: ...
463
+ # Windows.Networking.Sockets.SocketActivityKind Windows.Networking.Sockets.SocketActivityInformation::get_SocketKind()
464
+ @_property
465
+ def socket_kind(self) -> SocketActivityKind: ...
466
+ # Windows.Networking.Sockets.StreamSocket Windows.Networking.Sockets.SocketActivityInformation::get_StreamSocket()
467
+ @_property
468
+ def stream_socket(self) -> StreamSocket: ...
469
+ # Windows.Networking.Sockets.StreamSocketListener Windows.Networking.Sockets.SocketActivityInformation::get_StreamSocketListener()
470
+ @_property
471
+ def stream_socket_listener(self) -> StreamSocketListener: ...
472
+ # System.Guid Windows.Networking.Sockets.SocketActivityInformation::get_TaskId()
473
+ @_property
474
+ def task_id(self) -> _uuid.UUID: ...
475
+
476
+ @typing.final
477
+ class SocketActivityTriggerDetails(winrt.system.Object):
478
+ # Windows.Networking.Sockets.SocketActivityTriggerReason Windows.Networking.Sockets.SocketActivityTriggerDetails::get_Reason()
479
+ @_property
480
+ def reason(self) -> SocketActivityTriggerReason: ...
481
+ # Windows.Networking.Sockets.SocketActivityInformation Windows.Networking.Sockets.SocketActivityTriggerDetails::get_SocketInformation()
482
+ @_property
483
+ def socket_information(self) -> SocketActivityInformation: ...
484
+
485
+ @typing.final
486
+ class SocketError_Static(winrt._winrt.IInspectable_Static):
487
+ # Windows.Networking.Sockets.SocketErrorStatus Windows.Networking.Sockets.SocketError::GetStatus(System.Int32)
488
+ def get_status(cls, hresult: winrt.system.Int32, /) -> SocketErrorStatus: ...
489
+
490
+ @typing.final
491
+ class SocketError(winrt.system.Object, metaclass=SocketError_Static):
492
+ pass
493
+
494
+ @typing.final
495
+ class StreamSocket_Static(winrt._winrt.IInspectable_Static):
496
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Networking.EndpointPair>> Windows.Networking.Sockets.StreamSocket::GetEndpointPairsAsync(Windows.Networking.HostName,System.String)
497
+ def get_endpoint_pairs_async(cls, remote_host_name: windows_networking.HostName, remote_service_name: str, /) -> windows_foundation.IAsyncOperation[typing.Sequence[windows_networking.EndpointPair]]: ...
498
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Networking.EndpointPair>> Windows.Networking.Sockets.StreamSocket::GetEndpointPairsAsync(Windows.Networking.HostName,System.String,Windows.Networking.HostNameSortOptions)
499
+ def get_endpoint_pairs_with_sort_options_async(cls, remote_host_name: windows_networking.HostName, remote_service_name: str, sort_options: windows_networking.HostNameSortOptions, /) -> windows_foundation.IAsyncOperation[typing.Sequence[windows_networking.EndpointPair]]: ...
500
+
501
+ @typing.final
502
+ class StreamSocket(winrt.system.Object, windows_foundation.IClosable, metaclass=StreamSocket_Static):
503
+ def __enter__(self: Self) -> Self: ...
504
+ def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
505
+ def __new__(cls: typing.Type[Self]) -> Self: ...
506
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.StreamSocket::CancelIOAsync()
507
+ def cancel_io_async(self) -> windows_foundation.IAsyncAction: ...
508
+ # System.Void Windows.Networking.Sockets.StreamSocket::Close()
509
+ def close(self) -> None: ...
510
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.StreamSocket::ConnectAsync(Windows.Networking.HostName,System.String)
511
+ def connect_async(self, remote_host_name: windows_networking.HostName, remote_service_name: str, /) -> windows_foundation.IAsyncAction: ...
512
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.StreamSocket::ConnectAsync(Windows.Networking.EndpointPair,Windows.Networking.Sockets.SocketProtectionLevel)
513
+ def connect_with_endpoint_pair_and_protection_level_async(self, endpoint_pair: windows_networking.EndpointPair, protection_level: SocketProtectionLevel, /) -> windows_foundation.IAsyncAction: ...
514
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.StreamSocket::ConnectAsync(Windows.Networking.EndpointPair)
515
+ def connect_with_endpoint_pair_async(self, endpoint_pair: windows_networking.EndpointPair, /) -> windows_foundation.IAsyncAction: ...
516
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.StreamSocket::ConnectAsync(Windows.Networking.HostName,System.String,Windows.Networking.Sockets.SocketProtectionLevel,Windows.Networking.Connectivity.NetworkAdapter)
517
+ def connect_with_protection_level_and_adapter_async(self, remote_host_name: windows_networking.HostName, remote_service_name: str, protection_level: SocketProtectionLevel, adapter: windows_networking_connectivity.NetworkAdapter, /) -> windows_foundation.IAsyncAction: ...
518
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.StreamSocket::ConnectAsync(Windows.Networking.HostName,System.String,Windows.Networking.Sockets.SocketProtectionLevel)
519
+ def connect_with_protection_level_async(self, remote_host_name: windows_networking.HostName, remote_service_name: str, protection_level: SocketProtectionLevel, /) -> windows_foundation.IAsyncAction: ...
520
+ # System.Void Windows.Networking.Sockets.StreamSocket::EnableTransferOwnership(System.Guid)
521
+ def enable_transfer_ownership(self, task_id: _uuid.UUID, /) -> None: ...
522
+ # System.Void Windows.Networking.Sockets.StreamSocket::EnableTransferOwnership(System.Guid,Windows.Networking.Sockets.SocketActivityConnectedStandbyAction)
523
+ def enable_transfer_ownership_with_connected_standby_action(self, task_id: _uuid.UUID, connected_standby_action: SocketActivityConnectedStandbyAction, /) -> None: ...
524
+ # System.Void Windows.Networking.Sockets.StreamSocket::TransferOwnership(System.String)
525
+ def transfer_ownership(self, socket_id: str, /) -> None: ...
526
+ # System.Void Windows.Networking.Sockets.StreamSocket::TransferOwnership(System.String,Windows.Networking.Sockets.SocketActivityContext)
527
+ def transfer_ownership_with_context(self, socket_id: str, data: SocketActivityContext, /) -> None: ...
528
+ # System.Void Windows.Networking.Sockets.StreamSocket::TransferOwnership(System.String,Windows.Networking.Sockets.SocketActivityContext,Windows.Foundation.TimeSpan)
529
+ def transfer_ownership_with_context_and_keep_alive_time(self, socket_id: str, data: SocketActivityContext, keep_alive_time: datetime.timedelta, /) -> None: ...
530
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.StreamSocket::UpgradeToSslAsync(Windows.Networking.Sockets.SocketProtectionLevel,Windows.Networking.HostName)
531
+ def upgrade_to_ssl_async(self, protection_level: SocketProtectionLevel, validation_host_name: windows_networking.HostName, /) -> windows_foundation.IAsyncAction: ...
532
+ # Windows.Networking.Sockets.StreamSocketControl Windows.Networking.Sockets.StreamSocket::get_Control()
533
+ @_property
534
+ def control(self) -> StreamSocketControl: ...
535
+ # Windows.Networking.Sockets.StreamSocketInformation Windows.Networking.Sockets.StreamSocket::get_Information()
536
+ @_property
537
+ def information(self) -> StreamSocketInformation: ...
538
+ # Windows.Storage.Streams.IInputStream Windows.Networking.Sockets.StreamSocket::get_InputStream()
539
+ @_property
540
+ def input_stream(self) -> windows_storage_streams.IInputStream: ...
541
+ # Windows.Storage.Streams.IOutputStream Windows.Networking.Sockets.StreamSocket::get_OutputStream()
542
+ @_property
543
+ def output_stream(self) -> windows_storage_streams.IOutputStream: ...
544
+
545
+ @typing.final
546
+ class StreamSocketControl(winrt.system.Object):
547
+ # Windows.Networking.Sockets.SocketQualityOfService Windows.Networking.Sockets.StreamSocketControl::get_QualityOfService()
548
+ @_property
549
+ def quality_of_service(self) -> SocketQualityOfService: ...
550
+ # System.Void Windows.Networking.Sockets.StreamSocketControl::put_QualityOfService(Windows.Networking.Sockets.SocketQualityOfService)
551
+ @quality_of_service.setter
552
+ def quality_of_service(self, value: SocketQualityOfService) -> None: ...
553
+ # System.Byte Windows.Networking.Sockets.StreamSocketControl::get_OutboundUnicastHopLimit()
554
+ @_property
555
+ def outbound_unicast_hop_limit(self) -> winrt.system.UInt8: ...
556
+ # System.Void Windows.Networking.Sockets.StreamSocketControl::put_OutboundUnicastHopLimit(System.Byte)
557
+ @outbound_unicast_hop_limit.setter
558
+ def outbound_unicast_hop_limit(self, value: winrt.system.UInt8) -> None: ...
559
+ # System.UInt32 Windows.Networking.Sockets.StreamSocketControl::get_OutboundBufferSizeInBytes()
560
+ @_property
561
+ def outbound_buffer_size_in_bytes(self) -> winrt.system.UInt32: ...
562
+ # System.Void Windows.Networking.Sockets.StreamSocketControl::put_OutboundBufferSizeInBytes(System.UInt32)
563
+ @outbound_buffer_size_in_bytes.setter
564
+ def outbound_buffer_size_in_bytes(self, value: winrt.system.UInt32) -> None: ...
565
+ # System.Boolean Windows.Networking.Sockets.StreamSocketControl::get_NoDelay()
566
+ @_property
567
+ def no_delay(self) -> bool: ...
568
+ # System.Void Windows.Networking.Sockets.StreamSocketControl::put_NoDelay(System.Boolean)
569
+ @no_delay.setter
570
+ def no_delay(self, value: bool) -> None: ...
571
+ # System.Boolean Windows.Networking.Sockets.StreamSocketControl::get_KeepAlive()
572
+ @_property
573
+ def keep_alive(self) -> bool: ...
574
+ # System.Void Windows.Networking.Sockets.StreamSocketControl::put_KeepAlive(System.Boolean)
575
+ @keep_alive.setter
576
+ def keep_alive(self, value: bool) -> None: ...
577
+ # Windows.Foundation.Collections.IVector`1<Windows.Security.Cryptography.Certificates.ChainValidationResult> Windows.Networking.Sockets.StreamSocketControl::get_IgnorableServerCertificateErrors()
578
+ @_property
579
+ def ignorable_server_certificate_errors(self) -> typing.MutableSequence[windows_security_cryptography_certificates.ChainValidationResult]: ...
580
+ # System.Boolean Windows.Networking.Sockets.StreamSocketControl::get_SerializeConnectionAttempts()
581
+ @_property
582
+ def serialize_connection_attempts(self) -> bool: ...
583
+ # System.Void Windows.Networking.Sockets.StreamSocketControl::put_SerializeConnectionAttempts(System.Boolean)
584
+ @serialize_connection_attempts.setter
585
+ def serialize_connection_attempts(self, value: bool) -> None: ...
586
+ # Windows.Security.Cryptography.Certificates.Certificate Windows.Networking.Sockets.StreamSocketControl::get_ClientCertificate()
587
+ @_property
588
+ def client_certificate(self) -> windows_security_cryptography_certificates.Certificate: ...
589
+ # System.Void Windows.Networking.Sockets.StreamSocketControl::put_ClientCertificate(Windows.Security.Cryptography.Certificates.Certificate)
590
+ @client_certificate.setter
591
+ def client_certificate(self, value: windows_security_cryptography_certificates.Certificate) -> None: ...
592
+ # Windows.Networking.Sockets.SocketProtectionLevel Windows.Networking.Sockets.StreamSocketControl::get_MinProtectionLevel()
593
+ @_property
594
+ def min_protection_level(self) -> SocketProtectionLevel: ...
595
+ # System.Void Windows.Networking.Sockets.StreamSocketControl::put_MinProtectionLevel(Windows.Networking.Sockets.SocketProtectionLevel)
596
+ @min_protection_level.setter
597
+ def min_protection_level(self, value: SocketProtectionLevel) -> None: ...
598
+
599
+ @typing.final
600
+ class StreamSocketInformation(winrt.system.Object):
601
+ # Windows.Networking.Sockets.BandwidthStatistics Windows.Networking.Sockets.StreamSocketInformation::get_BandwidthStatistics()
602
+ @_property
603
+ def bandwidth_statistics(self) -> BandwidthStatistics: ...
604
+ # Windows.Networking.HostName Windows.Networking.Sockets.StreamSocketInformation::get_LocalAddress()
605
+ @_property
606
+ def local_address(self) -> windows_networking.HostName: ...
607
+ # System.String Windows.Networking.Sockets.StreamSocketInformation::get_LocalPort()
608
+ @_property
609
+ def local_port(self) -> str: ...
610
+ # Windows.Networking.Sockets.SocketProtectionLevel Windows.Networking.Sockets.StreamSocketInformation::get_ProtectionLevel()
611
+ @_property
612
+ def protection_level(self) -> SocketProtectionLevel: ...
613
+ # Windows.Networking.HostName Windows.Networking.Sockets.StreamSocketInformation::get_RemoteAddress()
614
+ @_property
615
+ def remote_address(self) -> windows_networking.HostName: ...
616
+ # Windows.Networking.HostName Windows.Networking.Sockets.StreamSocketInformation::get_RemoteHostName()
617
+ @_property
618
+ def remote_host_name(self) -> windows_networking.HostName: ...
619
+ # System.String Windows.Networking.Sockets.StreamSocketInformation::get_RemotePort()
620
+ @_property
621
+ def remote_port(self) -> str: ...
622
+ # System.String Windows.Networking.Sockets.StreamSocketInformation::get_RemoteServiceName()
623
+ @_property
624
+ def remote_service_name(self) -> str: ...
625
+ # Windows.Networking.Sockets.RoundTripTimeStatistics Windows.Networking.Sockets.StreamSocketInformation::get_RoundTripTimeStatistics()
626
+ @_property
627
+ def round_trip_time_statistics(self) -> RoundTripTimeStatistics: ...
628
+ # Windows.Storage.Streams.IBuffer Windows.Networking.Sockets.StreamSocketInformation::get_SessionKey()
629
+ @_property
630
+ def session_key(self) -> winrt.system.Buffer: ...
631
+ # Windows.Security.Cryptography.Certificates.Certificate Windows.Networking.Sockets.StreamSocketInformation::get_ServerCertificate()
632
+ @_property
633
+ def server_certificate(self) -> windows_security_cryptography_certificates.Certificate: ...
634
+ # Windows.Networking.Sockets.SocketSslErrorSeverity Windows.Networking.Sockets.StreamSocketInformation::get_ServerCertificateErrorSeverity()
635
+ @_property
636
+ def server_certificate_error_severity(self) -> SocketSslErrorSeverity: ...
637
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Security.Cryptography.Certificates.ChainValidationResult> Windows.Networking.Sockets.StreamSocketInformation::get_ServerCertificateErrors()
638
+ @_property
639
+ def server_certificate_errors(self) -> typing.Sequence[windows_security_cryptography_certificates.ChainValidationResult]: ...
640
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Security.Cryptography.Certificates.Certificate> Windows.Networking.Sockets.StreamSocketInformation::get_ServerIntermediateCertificates()
641
+ @_property
642
+ def server_intermediate_certificates(self) -> typing.Sequence[windows_security_cryptography_certificates.Certificate]: ...
643
+
644
+ @typing.final
645
+ class StreamSocketListener(winrt.system.Object, windows_foundation.IClosable):
646
+ def __enter__(self: Self) -> Self: ...
647
+ def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
648
+ def __new__(cls: typing.Type[Self]) -> Self: ...
649
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.StreamSocketListener::BindEndpointAsync(Windows.Networking.HostName,System.String)
650
+ def bind_endpoint_async(self, local_host_name: windows_networking.HostName, local_service_name: str, /) -> windows_foundation.IAsyncAction: ...
651
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.StreamSocketListener::BindServiceNameAsync(System.String)
652
+ def bind_service_name_async(self, local_service_name: str, /) -> windows_foundation.IAsyncAction: ...
653
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.StreamSocketListener::BindServiceNameAsync(System.String,Windows.Networking.Sockets.SocketProtectionLevel,Windows.Networking.Connectivity.NetworkAdapter)
654
+ def bind_service_name_with_protection_level_and_adapter_async(self, local_service_name: str, protection_level: SocketProtectionLevel, adapter: windows_networking_connectivity.NetworkAdapter, /) -> windows_foundation.IAsyncAction: ...
655
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.StreamSocketListener::BindServiceNameAsync(System.String,Windows.Networking.Sockets.SocketProtectionLevel)
656
+ def bind_service_name_with_protection_level_async(self, local_service_name: str, protection_level: SocketProtectionLevel, /) -> windows_foundation.IAsyncAction: ...
657
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.StreamSocketListener::CancelIOAsync()
658
+ def cancel_io_async(self) -> windows_foundation.IAsyncAction: ...
659
+ # System.Void Windows.Networking.Sockets.StreamSocketListener::Close()
660
+ def close(self) -> None: ...
661
+ # System.Void Windows.Networking.Sockets.StreamSocketListener::EnableTransferOwnership(System.Guid)
662
+ def enable_transfer_ownership(self, task_id: _uuid.UUID, /) -> None: ...
663
+ # System.Void Windows.Networking.Sockets.StreamSocketListener::EnableTransferOwnership(System.Guid,Windows.Networking.Sockets.SocketActivityConnectedStandbyAction)
664
+ def enable_transfer_ownership_with_connected_standby_action(self, task_id: _uuid.UUID, connected_standby_action: SocketActivityConnectedStandbyAction, /) -> None: ...
665
+ # System.Void Windows.Networking.Sockets.StreamSocketListener::TransferOwnership(System.String)
666
+ def transfer_ownership(self, socket_id: str, /) -> None: ...
667
+ # System.Void Windows.Networking.Sockets.StreamSocketListener::TransferOwnership(System.String,Windows.Networking.Sockets.SocketActivityContext)
668
+ def transfer_ownership_with_context(self, socket_id: str, data: SocketActivityContext, /) -> None: ...
669
+ # Windows.Foundation.EventRegistrationToken Windows.Networking.Sockets.StreamSocketListener::add_ConnectionReceived(Windows.Foundation.TypedEventHandler`2<Windows.Networking.Sockets.StreamSocketListener,Windows.Networking.Sockets.StreamSocketListenerConnectionReceivedEventArgs>)
670
+ def add_connection_received(self, event_handler: windows_foundation.TypedEventHandler[StreamSocketListener, StreamSocketListenerConnectionReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
671
+ # System.Void Windows.Networking.Sockets.StreamSocketListener::remove_ConnectionReceived(Windows.Foundation.EventRegistrationToken)
672
+ def remove_connection_received(self, event_cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
673
+ # Windows.Networking.Sockets.StreamSocketListenerControl Windows.Networking.Sockets.StreamSocketListener::get_Control()
674
+ @_property
675
+ def control(self) -> StreamSocketListenerControl: ...
676
+ # Windows.Networking.Sockets.StreamSocketListenerInformation Windows.Networking.Sockets.StreamSocketListener::get_Information()
677
+ @_property
678
+ def information(self) -> StreamSocketListenerInformation: ...
679
+
680
+ @typing.final
681
+ class StreamSocketListenerConnectionReceivedEventArgs(winrt.system.Object):
682
+ # Windows.Networking.Sockets.StreamSocket Windows.Networking.Sockets.StreamSocketListenerConnectionReceivedEventArgs::get_Socket()
683
+ @_property
684
+ def socket(self) -> StreamSocket: ...
685
+
686
+ @typing.final
687
+ class StreamSocketListenerControl(winrt.system.Object):
688
+ # Windows.Networking.Sockets.SocketQualityOfService Windows.Networking.Sockets.StreamSocketListenerControl::get_QualityOfService()
689
+ @_property
690
+ def quality_of_service(self) -> SocketQualityOfService: ...
691
+ # System.Void Windows.Networking.Sockets.StreamSocketListenerControl::put_QualityOfService(Windows.Networking.Sockets.SocketQualityOfService)
692
+ @quality_of_service.setter
693
+ def quality_of_service(self, value: SocketQualityOfService) -> None: ...
694
+ # System.Byte Windows.Networking.Sockets.StreamSocketListenerControl::get_OutboundUnicastHopLimit()
695
+ @_property
696
+ def outbound_unicast_hop_limit(self) -> winrt.system.UInt8: ...
697
+ # System.Void Windows.Networking.Sockets.StreamSocketListenerControl::put_OutboundUnicastHopLimit(System.Byte)
698
+ @outbound_unicast_hop_limit.setter
699
+ def outbound_unicast_hop_limit(self, value: winrt.system.UInt8) -> None: ...
700
+ # System.UInt32 Windows.Networking.Sockets.StreamSocketListenerControl::get_OutboundBufferSizeInBytes()
701
+ @_property
702
+ def outbound_buffer_size_in_bytes(self) -> winrt.system.UInt32: ...
703
+ # System.Void Windows.Networking.Sockets.StreamSocketListenerControl::put_OutboundBufferSizeInBytes(System.UInt32)
704
+ @outbound_buffer_size_in_bytes.setter
705
+ def outbound_buffer_size_in_bytes(self, value: winrt.system.UInt32) -> None: ...
706
+ # System.Boolean Windows.Networking.Sockets.StreamSocketListenerControl::get_NoDelay()
707
+ @_property
708
+ def no_delay(self) -> bool: ...
709
+ # System.Void Windows.Networking.Sockets.StreamSocketListenerControl::put_NoDelay(System.Boolean)
710
+ @no_delay.setter
711
+ def no_delay(self, value: bool) -> None: ...
712
+ # System.Boolean Windows.Networking.Sockets.StreamSocketListenerControl::get_KeepAlive()
713
+ @_property
714
+ def keep_alive(self) -> bool: ...
715
+ # System.Void Windows.Networking.Sockets.StreamSocketListenerControl::put_KeepAlive(System.Boolean)
716
+ @keep_alive.setter
717
+ def keep_alive(self, value: bool) -> None: ...
718
+
719
+ @typing.final
720
+ class StreamSocketListenerInformation(winrt.system.Object):
721
+ # System.String Windows.Networking.Sockets.StreamSocketListenerInformation::get_LocalPort()
722
+ @_property
723
+ def local_port(self) -> str: ...
724
+
725
+ @typing.final
726
+ class StreamWebSocket(winrt.system.Object, IWebSocket, windows_foundation.IClosable):
727
+ def __enter__(self: Self) -> Self: ...
728
+ def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
729
+ def __new__(cls: typing.Type[Self]) -> Self: ...
730
+ # System.Void Windows.Networking.Sockets.StreamWebSocket::Close()
731
+ def close(self) -> None: ...
732
+ # System.Void Windows.Networking.Sockets.StreamWebSocket::Close(System.UInt16,System.String)
733
+ def close_with_status(self, code: winrt.system.UInt16, reason: str, /) -> None: ...
734
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.StreamWebSocket::ConnectAsync(Windows.Foundation.Uri)
735
+ def connect_async(self, uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncAction: ...
736
+ # System.Void Windows.Networking.Sockets.StreamWebSocket::SetRequestHeader(System.String,System.String)
737
+ def set_request_header(self, header_name: str, header_value: str, /) -> None: ...
738
+ # Windows.Foundation.EventRegistrationToken Windows.Networking.Sockets.StreamWebSocket::add_Closed(Windows.Foundation.TypedEventHandler`2<Windows.Networking.Sockets.IWebSocket,Windows.Networking.Sockets.WebSocketClosedEventArgs>)
739
+ def add_closed(self, event_handler: windows_foundation.TypedEventHandler[IWebSocket, WebSocketClosedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
740
+ # System.Void Windows.Networking.Sockets.StreamWebSocket::remove_Closed(Windows.Foundation.EventRegistrationToken)
741
+ def remove_closed(self, event_cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
742
+ # Windows.Foundation.EventRegistrationToken Windows.Networking.Sockets.StreamWebSocket::add_ServerCustomValidationRequested(Windows.Foundation.TypedEventHandler`2<Windows.Networking.Sockets.StreamWebSocket,Windows.Networking.Sockets.WebSocketServerCustomValidationRequestedEventArgs>)
743
+ def add_server_custom_validation_requested(self, event_handler: windows_foundation.TypedEventHandler[StreamWebSocket, WebSocketServerCustomValidationRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
744
+ # System.Void Windows.Networking.Sockets.StreamWebSocket::remove_ServerCustomValidationRequested(Windows.Foundation.EventRegistrationToken)
745
+ def remove_server_custom_validation_requested(self, event_cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
746
+ # Windows.Networking.Sockets.StreamWebSocketControl Windows.Networking.Sockets.StreamWebSocket::get_Control()
747
+ @_property
748
+ def control(self) -> StreamWebSocketControl: ...
749
+ # Windows.Networking.Sockets.StreamWebSocketInformation Windows.Networking.Sockets.StreamWebSocket::get_Information()
750
+ @_property
751
+ def information(self) -> StreamWebSocketInformation: ...
752
+ # Windows.Storage.Streams.IInputStream Windows.Networking.Sockets.StreamWebSocket::get_InputStream()
753
+ @_property
754
+ def input_stream(self) -> windows_storage_streams.IInputStream: ...
755
+ # Windows.Storage.Streams.IOutputStream Windows.Networking.Sockets.StreamWebSocket::get_OutputStream()
756
+ @_property
757
+ def output_stream(self) -> windows_storage_streams.IOutputStream: ...
758
+
759
+ @typing.final
760
+ class StreamWebSocketControl(winrt.system.Object, IWebSocketControl2, IWebSocketControl):
761
+ # System.Boolean Windows.Networking.Sockets.StreamWebSocketControl::get_NoDelay()
762
+ @_property
763
+ def no_delay(self) -> bool: ...
764
+ # System.Void Windows.Networking.Sockets.StreamWebSocketControl::put_NoDelay(System.Boolean)
765
+ @no_delay.setter
766
+ def no_delay(self, value: bool) -> None: ...
767
+ # Windows.Foundation.TimeSpan Windows.Networking.Sockets.StreamWebSocketControl::get_DesiredUnsolicitedPongInterval()
768
+ @_property
769
+ def desired_unsolicited_pong_interval(self) -> datetime.timedelta: ...
770
+ # System.Void Windows.Networking.Sockets.StreamWebSocketControl::put_DesiredUnsolicitedPongInterval(Windows.Foundation.TimeSpan)
771
+ @desired_unsolicited_pong_interval.setter
772
+ def desired_unsolicited_pong_interval(self, value: datetime.timedelta) -> None: ...
773
+ # Windows.Security.Cryptography.Certificates.Certificate Windows.Networking.Sockets.StreamWebSocketControl::get_ClientCertificate()
774
+ @_property
775
+ def client_certificate(self) -> windows_security_cryptography_certificates.Certificate: ...
776
+ # System.Void Windows.Networking.Sockets.StreamWebSocketControl::put_ClientCertificate(Windows.Security.Cryptography.Certificates.Certificate)
777
+ @client_certificate.setter
778
+ def client_certificate(self, value: windows_security_cryptography_certificates.Certificate) -> None: ...
779
+ # Windows.Foundation.TimeSpan Windows.Networking.Sockets.StreamWebSocketControl::get_ActualUnsolicitedPongInterval()
780
+ @_property
781
+ def actual_unsolicited_pong_interval(self) -> datetime.timedelta: ...
782
+ # Windows.Security.Credentials.PasswordCredential Windows.Networking.Sockets.StreamWebSocketControl::get_ServerCredential()
783
+ @_property
784
+ def server_credential(self) -> windows_security_credentials.PasswordCredential: ...
785
+ # System.Void Windows.Networking.Sockets.StreamWebSocketControl::put_ServerCredential(Windows.Security.Credentials.PasswordCredential)
786
+ @server_credential.setter
787
+ def server_credential(self, value: windows_security_credentials.PasswordCredential) -> None: ...
788
+ # Windows.Security.Credentials.PasswordCredential Windows.Networking.Sockets.StreamWebSocketControl::get_ProxyCredential()
789
+ @_property
790
+ def proxy_credential(self) -> windows_security_credentials.PasswordCredential: ...
791
+ # System.Void Windows.Networking.Sockets.StreamWebSocketControl::put_ProxyCredential(Windows.Security.Credentials.PasswordCredential)
792
+ @proxy_credential.setter
793
+ def proxy_credential(self, value: windows_security_credentials.PasswordCredential) -> None: ...
794
+ # System.UInt32 Windows.Networking.Sockets.StreamWebSocketControl::get_OutboundBufferSizeInBytes()
795
+ @_property
796
+ def outbound_buffer_size_in_bytes(self) -> winrt.system.UInt32: ...
797
+ # System.Void Windows.Networking.Sockets.StreamWebSocketControl::put_OutboundBufferSizeInBytes(System.UInt32)
798
+ @outbound_buffer_size_in_bytes.setter
799
+ def outbound_buffer_size_in_bytes(self, value: winrt.system.UInt32) -> None: ...
800
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Networking.Sockets.StreamWebSocketControl::get_SupportedProtocols()
801
+ @_property
802
+ def supported_protocols(self) -> typing.MutableSequence[str]: ...
803
+ # Windows.Foundation.Collections.IVector`1<Windows.Security.Cryptography.Certificates.ChainValidationResult> Windows.Networking.Sockets.StreamWebSocketControl::get_IgnorableServerCertificateErrors()
804
+ @_property
805
+ def ignorable_server_certificate_errors(self) -> typing.MutableSequence[windows_security_cryptography_certificates.ChainValidationResult]: ...
806
+
807
+ @typing.final
808
+ class StreamWebSocketInformation(winrt.system.Object, IWebSocketInformation2, IWebSocketInformation):
809
+ # Windows.Networking.Sockets.BandwidthStatistics Windows.Networking.Sockets.StreamWebSocketInformation::get_BandwidthStatistics()
810
+ @_property
811
+ def bandwidth_statistics(self) -> BandwidthStatistics: ...
812
+ # Windows.Networking.HostName Windows.Networking.Sockets.StreamWebSocketInformation::get_LocalAddress()
813
+ @_property
814
+ def local_address(self) -> windows_networking.HostName: ...
815
+ # System.String Windows.Networking.Sockets.StreamWebSocketInformation::get_Protocol()
816
+ @_property
817
+ def protocol(self) -> str: ...
818
+ # Windows.Security.Cryptography.Certificates.Certificate Windows.Networking.Sockets.StreamWebSocketInformation::get_ServerCertificate()
819
+ @_property
820
+ def server_certificate(self) -> windows_security_cryptography_certificates.Certificate: ...
821
+ # Windows.Networking.Sockets.SocketSslErrorSeverity Windows.Networking.Sockets.StreamWebSocketInformation::get_ServerCertificateErrorSeverity()
822
+ @_property
823
+ def server_certificate_error_severity(self) -> SocketSslErrorSeverity: ...
824
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Security.Cryptography.Certificates.ChainValidationResult> Windows.Networking.Sockets.StreamWebSocketInformation::get_ServerCertificateErrors()
825
+ @_property
826
+ def server_certificate_errors(self) -> typing.Sequence[windows_security_cryptography_certificates.ChainValidationResult]: ...
827
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Security.Cryptography.Certificates.Certificate> Windows.Networking.Sockets.StreamWebSocketInformation::get_ServerIntermediateCertificates()
828
+ @_property
829
+ def server_intermediate_certificates(self) -> typing.Sequence[windows_security_cryptography_certificates.Certificate]: ...
830
+
831
+ @typing.final
832
+ class WebSocketClosedEventArgs(winrt.system.Object):
833
+ # System.UInt16 Windows.Networking.Sockets.WebSocketClosedEventArgs::get_Code()
834
+ @_property
835
+ def code(self) -> winrt.system.UInt16: ...
836
+ # System.String Windows.Networking.Sockets.WebSocketClosedEventArgs::get_Reason()
837
+ @_property
838
+ def reason(self) -> str: ...
839
+
840
+ @typing.final
841
+ class WebSocketError_Static(winrt._winrt.IInspectable_Static):
842
+ # Windows.Web.WebErrorStatus Windows.Networking.Sockets.WebSocketError::GetStatus(System.Int32)
843
+ def get_status(cls, hresult: winrt.system.Int32, /) -> windows_web.WebErrorStatus: ...
844
+
845
+ @typing.final
846
+ class WebSocketError(winrt.system.Object, metaclass=WebSocketError_Static):
847
+ pass
848
+
849
+ @typing.final
850
+ class WebSocketKeepAlive(winrt.system.Object, windows_applicationmodel_background.IBackgroundTask):
851
+ def __new__(cls: typing.Type[Self]) -> Self: ...
852
+ # System.Void Windows.Networking.Sockets.WebSocketKeepAlive::Run(Windows.ApplicationModel.Background.IBackgroundTaskInstance)
853
+ def run(self, task_instance: windows_applicationmodel_background.IBackgroundTaskInstance, /) -> None: ...
854
+
855
+ @typing.final
856
+ class WebSocketServerCustomValidationRequestedEventArgs(winrt.system.Object):
857
+ # Windows.Foundation.Deferral Windows.Networking.Sockets.WebSocketServerCustomValidationRequestedEventArgs::GetDeferral()
858
+ def get_deferral(self) -> windows_foundation.Deferral: ...
859
+ # System.Void Windows.Networking.Sockets.WebSocketServerCustomValidationRequestedEventArgs::Reject()
860
+ def reject(self) -> None: ...
861
+ # Windows.Security.Cryptography.Certificates.Certificate Windows.Networking.Sockets.WebSocketServerCustomValidationRequestedEventArgs::get_ServerCertificate()
862
+ @_property
863
+ def server_certificate(self) -> windows_security_cryptography_certificates.Certificate: ...
864
+ # Windows.Networking.Sockets.SocketSslErrorSeverity Windows.Networking.Sockets.WebSocketServerCustomValidationRequestedEventArgs::get_ServerCertificateErrorSeverity()
865
+ @_property
866
+ def server_certificate_error_severity(self) -> SocketSslErrorSeverity: ...
867
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Security.Cryptography.Certificates.ChainValidationResult> Windows.Networking.Sockets.WebSocketServerCustomValidationRequestedEventArgs::get_ServerCertificateErrors()
868
+ @_property
869
+ def server_certificate_errors(self) -> typing.Sequence[windows_security_cryptography_certificates.ChainValidationResult]: ...
870
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Security.Cryptography.Certificates.Certificate> Windows.Networking.Sockets.WebSocketServerCustomValidationRequestedEventArgs::get_ServerIntermediateCertificates()
871
+ @_property
872
+ def server_intermediate_certificates(self) -> typing.Sequence[windows_security_cryptography_certificates.Certificate]: ...
873
+
874
+ @typing.final
875
+ class _IControlChannelTriggerEventDetails: ...
876
+
877
+ class IControlChannelTriggerEventDetails(winrt._winrt.IInspectable):
878
+ # Windows.Networking.Sockets.ControlChannelTrigger Windows.Networking.Sockets.IControlChannelTriggerEventDetails::get_ControlChannelTrigger()
879
+ @_property
880
+ @abstractmethod
881
+ def control_channel_trigger(self) -> ControlChannelTrigger: ...
882
+
883
+ @typing.final
884
+ class _IControlChannelTriggerResetEventDetails: ...
885
+
886
+ class IControlChannelTriggerResetEventDetails(winrt._winrt.IInspectable):
887
+ # System.Boolean Windows.Networking.Sockets.IControlChannelTriggerResetEventDetails::get_HardwareSlotReset()
888
+ @_property
889
+ @abstractmethod
890
+ def hardware_slot_reset(self) -> bool: ...
891
+ # Windows.Networking.Sockets.ControlChannelTriggerResetReason Windows.Networking.Sockets.IControlChannelTriggerResetEventDetails::get_ResetReason()
892
+ @_property
893
+ @abstractmethod
894
+ def reset_reason(self) -> ControlChannelTriggerResetReason: ...
895
+ # System.Boolean Windows.Networking.Sockets.IControlChannelTriggerResetEventDetails::get_SoftwareSlotReset()
896
+ @_property
897
+ @abstractmethod
898
+ def software_slot_reset(self) -> bool: ...
899
+
900
+ @typing.final
901
+ class _IWebSocket: ...
902
+
903
+ class IWebSocket(windows_foundation.IClosable, winrt._winrt.IInspectable):
904
+ # System.Void Windows.Networking.Sockets.IWebSocket::Close(System.UInt16,System.String)
905
+ @abstractmethod
906
+ def close_with_status(self, code: winrt.system.UInt16, reason: str, /) -> None: ...
907
+ # Windows.Foundation.IAsyncAction Windows.Networking.Sockets.IWebSocket::ConnectAsync(Windows.Foundation.Uri)
908
+ @abstractmethod
909
+ def connect_async(self, uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncAction: ...
910
+ # System.Void Windows.Networking.Sockets.IWebSocket::SetRequestHeader(System.String,System.String)
911
+ @abstractmethod
912
+ def set_request_header(self, header_name: str, header_value: str, /) -> None: ...
913
+ # Windows.Foundation.EventRegistrationToken Windows.Networking.Sockets.IWebSocket::add_Closed(Windows.Foundation.TypedEventHandler`2<Windows.Networking.Sockets.IWebSocket,Windows.Networking.Sockets.WebSocketClosedEventArgs>)
914
+ @abstractmethod
915
+ def add_closed(self, event_handler: windows_foundation.TypedEventHandler[IWebSocket, WebSocketClosedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
916
+ # System.Void Windows.Networking.Sockets.IWebSocket::remove_Closed(Windows.Foundation.EventRegistrationToken)
917
+ @abstractmethod
918
+ def remove_closed(self, event_cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
919
+ # Windows.Storage.Streams.IOutputStream Windows.Networking.Sockets.IWebSocket::get_OutputStream()
920
+ @_property
921
+ @abstractmethod
922
+ def output_stream(self) -> windows_storage_streams.IOutputStream: ...
923
+
924
+ @typing.final
925
+ class _IWebSocketControl: ...
926
+
927
+ class IWebSocketControl(winrt._winrt.IInspectable):
928
+ # System.UInt32 Windows.Networking.Sockets.IWebSocketControl::get_OutboundBufferSizeInBytes()
929
+ @_property
930
+ @abstractmethod
931
+ def outbound_buffer_size_in_bytes(self) -> winrt.system.UInt32: ...
932
+ # System.Void Windows.Networking.Sockets.IWebSocketControl::put_OutboundBufferSizeInBytes(System.UInt32)
933
+ @outbound_buffer_size_in_bytes.setter
934
+ @abstractmethod
935
+ def outbound_buffer_size_in_bytes(self, value: winrt.system.UInt32) -> None: ...
936
+ # Windows.Security.Credentials.PasswordCredential Windows.Networking.Sockets.IWebSocketControl::get_ProxyCredential()
937
+ @_property
938
+ @abstractmethod
939
+ def proxy_credential(self) -> windows_security_credentials.PasswordCredential: ...
940
+ # System.Void Windows.Networking.Sockets.IWebSocketControl::put_ProxyCredential(Windows.Security.Credentials.PasswordCredential)
941
+ @proxy_credential.setter
942
+ @abstractmethod
943
+ def proxy_credential(self, value: windows_security_credentials.PasswordCredential) -> None: ...
944
+ # Windows.Security.Credentials.PasswordCredential Windows.Networking.Sockets.IWebSocketControl::get_ServerCredential()
945
+ @_property
946
+ @abstractmethod
947
+ def server_credential(self) -> windows_security_credentials.PasswordCredential: ...
948
+ # System.Void Windows.Networking.Sockets.IWebSocketControl::put_ServerCredential(Windows.Security.Credentials.PasswordCredential)
949
+ @server_credential.setter
950
+ @abstractmethod
951
+ def server_credential(self, value: windows_security_credentials.PasswordCredential) -> None: ...
952
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Networking.Sockets.IWebSocketControl::get_SupportedProtocols()
953
+ @_property
954
+ @abstractmethod
955
+ def supported_protocols(self) -> typing.MutableSequence[str]: ...
956
+
957
+ @typing.final
958
+ class _IWebSocketControl2: ...
959
+
960
+ class IWebSocketControl2(IWebSocketControl, winrt._winrt.IInspectable):
961
+ # Windows.Foundation.Collections.IVector`1<Windows.Security.Cryptography.Certificates.ChainValidationResult> Windows.Networking.Sockets.IWebSocketControl2::get_IgnorableServerCertificateErrors()
962
+ @_property
963
+ @abstractmethod
964
+ def ignorable_server_certificate_errors(self) -> typing.MutableSequence[windows_security_cryptography_certificates.ChainValidationResult]: ...
965
+
966
+ @typing.final
967
+ class _IWebSocketInformation: ...
968
+
969
+ class IWebSocketInformation(winrt._winrt.IInspectable):
970
+ # Windows.Networking.Sockets.BandwidthStatistics Windows.Networking.Sockets.IWebSocketInformation::get_BandwidthStatistics()
971
+ @_property
972
+ @abstractmethod
973
+ def bandwidth_statistics(self) -> BandwidthStatistics: ...
974
+ # Windows.Networking.HostName Windows.Networking.Sockets.IWebSocketInformation::get_LocalAddress()
975
+ @_property
976
+ @abstractmethod
977
+ def local_address(self) -> windows_networking.HostName: ...
978
+ # System.String Windows.Networking.Sockets.IWebSocketInformation::get_Protocol()
979
+ @_property
980
+ @abstractmethod
981
+ def protocol(self) -> str: ...
982
+
983
+ @typing.final
984
+ class _IWebSocketInformation2: ...
985
+
986
+ class IWebSocketInformation2(IWebSocketInformation, winrt._winrt.IInspectable):
987
+ # Windows.Security.Cryptography.Certificates.Certificate Windows.Networking.Sockets.IWebSocketInformation2::get_ServerCertificate()
988
+ @_property
989
+ @abstractmethod
990
+ def server_certificate(self) -> windows_security_cryptography_certificates.Certificate: ...
991
+ # Windows.Networking.Sockets.SocketSslErrorSeverity Windows.Networking.Sockets.IWebSocketInformation2::get_ServerCertificateErrorSeverity()
992
+ @_property
993
+ @abstractmethod
994
+ def server_certificate_error_severity(self) -> SocketSslErrorSeverity: ...
995
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Security.Cryptography.Certificates.ChainValidationResult> Windows.Networking.Sockets.IWebSocketInformation2::get_ServerCertificateErrors()
996
+ @_property
997
+ @abstractmethod
998
+ def server_certificate_errors(self) -> typing.Sequence[windows_security_cryptography_certificates.ChainValidationResult]: ...
999
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Security.Cryptography.Certificates.Certificate> Windows.Networking.Sockets.IWebSocketInformation2::get_ServerIntermediateCertificates()
1000
+ @_property
1001
+ @abstractmethod
1002
+ def server_intermediate_certificates(self) -> typing.Sequence[windows_security_cryptography_certificates.Certificate]: ...
1003
+
@@ -0,0 +1,211 @@
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_networking_sockets import (
7
+ BandwidthStatistics,
8
+ RoundTripTimeStatistics,
9
+ ControlChannelTrigger,
10
+ DatagramSocket,
11
+ DatagramSocketControl,
12
+ DatagramSocketInformation,
13
+ DatagramSocketMessageReceivedEventArgs,
14
+ MessageWebSocket,
15
+ MessageWebSocketControl,
16
+ MessageWebSocketInformation,
17
+ MessageWebSocketMessageReceivedEventArgs,
18
+ ServerMessageWebSocket,
19
+ ServerMessageWebSocketControl,
20
+ ServerMessageWebSocketInformation,
21
+ ServerStreamWebSocket,
22
+ ServerStreamWebSocketInformation,
23
+ SocketActivityContext,
24
+ SocketActivityInformation,
25
+ SocketActivityTriggerDetails,
26
+ SocketError,
27
+ StreamSocket,
28
+ StreamSocketControl,
29
+ StreamSocketInformation,
30
+ StreamSocketListener,
31
+ StreamSocketListenerConnectionReceivedEventArgs,
32
+ StreamSocketListenerControl,
33
+ StreamSocketListenerInformation,
34
+ StreamWebSocket,
35
+ StreamWebSocketControl,
36
+ StreamWebSocketInformation,
37
+ WebSocketClosedEventArgs,
38
+ WebSocketError,
39
+ WebSocketKeepAlive,
40
+ WebSocketServerCustomValidationRequestedEventArgs,
41
+ _IControlChannelTriggerEventDetails,
42
+ IControlChannelTriggerEventDetails,
43
+ _IControlChannelTriggerResetEventDetails,
44
+ IControlChannelTriggerResetEventDetails,
45
+ _IWebSocket,
46
+ IWebSocket,
47
+ _IWebSocketControl,
48
+ IWebSocketControl,
49
+ _IWebSocketControl2,
50
+ IWebSocketControl2,
51
+ _IWebSocketInformation,
52
+ IWebSocketInformation,
53
+ _IWebSocketInformation2,
54
+ IWebSocketInformation2,
55
+ )
56
+
57
+ __all__ = [
58
+ "ControlChannelTriggerResetReason",
59
+ "ControlChannelTriggerResourceType",
60
+ "ControlChannelTriggerStatus",
61
+ "MessageWebSocketReceiveMode",
62
+ "SocketActivityConnectedStandbyAction",
63
+ "SocketActivityKind",
64
+ "SocketActivityTriggerReason",
65
+ "SocketErrorStatus",
66
+ "SocketMessageType",
67
+ "SocketProtectionLevel",
68
+ "SocketQualityOfService",
69
+ "SocketSslErrorSeverity",
70
+ "BandwidthStatistics",
71
+ "RoundTripTimeStatistics",
72
+ "ControlChannelTrigger",
73
+ "DatagramSocket",
74
+ "DatagramSocketControl",
75
+ "DatagramSocketInformation",
76
+ "DatagramSocketMessageReceivedEventArgs",
77
+ "MessageWebSocket",
78
+ "MessageWebSocketControl",
79
+ "MessageWebSocketInformation",
80
+ "MessageWebSocketMessageReceivedEventArgs",
81
+ "ServerMessageWebSocket",
82
+ "ServerMessageWebSocketControl",
83
+ "ServerMessageWebSocketInformation",
84
+ "ServerStreamWebSocket",
85
+ "ServerStreamWebSocketInformation",
86
+ "SocketActivityContext",
87
+ "SocketActivityInformation",
88
+ "SocketActivityTriggerDetails",
89
+ "SocketError",
90
+ "StreamSocket",
91
+ "StreamSocketControl",
92
+ "StreamSocketInformation",
93
+ "StreamSocketListener",
94
+ "StreamSocketListenerConnectionReceivedEventArgs",
95
+ "StreamSocketListenerControl",
96
+ "StreamSocketListenerInformation",
97
+ "StreamWebSocket",
98
+ "StreamWebSocketControl",
99
+ "StreamWebSocketInformation",
100
+ "WebSocketClosedEventArgs",
101
+ "WebSocketError",
102
+ "WebSocketKeepAlive",
103
+ "WebSocketServerCustomValidationRequestedEventArgs",
104
+ "IControlChannelTriggerEventDetails",
105
+ "IControlChannelTriggerResetEventDetails",
106
+ "IWebSocket",
107
+ "IWebSocketControl",
108
+ "IWebSocketControl2",
109
+ "IWebSocketInformation",
110
+ "IWebSocketInformation2",
111
+ ]
112
+
113
+ class ControlChannelTriggerResetReason(enum.IntEnum):
114
+ FAST_USER_SWITCHED = 0
115
+ LOW_POWER_EXIT = 1
116
+ QUIET_HOURS_EXIT = 2
117
+ APPLICATION_RESTART = 3
118
+
119
+ class ControlChannelTriggerResourceType(enum.IntEnum):
120
+ REQUEST_SOFTWARE_SLOT = 0
121
+ REQUEST_HARDWARE_SLOT = 1
122
+
123
+ class ControlChannelTriggerStatus(enum.IntEnum):
124
+ HARDWARE_SLOT_REQUESTED = 0
125
+ SOFTWARE_SLOT_ALLOCATED = 1
126
+ HARDWARE_SLOT_ALLOCATED = 2
127
+ POLICY_ERROR = 3
128
+ SYSTEM_ERROR = 4
129
+ TRANSPORT_DISCONNECTED = 5
130
+ SERVICE_UNAVAILABLE = 6
131
+
132
+ class MessageWebSocketReceiveMode(enum.IntEnum):
133
+ FULL_MESSAGE = 0
134
+ PARTIAL_MESSAGE = 1
135
+
136
+ class SocketActivityConnectedStandbyAction(enum.IntEnum):
137
+ DO_NOT_WAKE = 0
138
+ WAKE = 1
139
+
140
+ class SocketActivityKind(enum.IntEnum):
141
+ NONE = 0
142
+ STREAM_SOCKET_LISTENER = 1
143
+ DATAGRAM_SOCKET = 2
144
+ STREAM_SOCKET = 3
145
+
146
+ class SocketActivityTriggerReason(enum.IntEnum):
147
+ NONE = 0
148
+ SOCKET_ACTIVITY = 1
149
+ CONNECTION_ACCEPTED = 2
150
+ KEEP_ALIVE_TIMER_EXPIRED = 3
151
+ SOCKET_CLOSED = 4
152
+
153
+ class SocketErrorStatus(enum.IntEnum):
154
+ UNKNOWN = 0
155
+ OPERATION_ABORTED = 1
156
+ HTTP_INVALID_SERVER_RESPONSE = 2
157
+ CONNECTION_TIMED_OUT = 3
158
+ ADDRESS_FAMILY_NOT_SUPPORTED = 4
159
+ SOCKET_TYPE_NOT_SUPPORTED = 5
160
+ HOST_NOT_FOUND = 6
161
+ NO_DATA_RECORD_OF_REQUESTED_TYPE = 7
162
+ NON_AUTHORITATIVE_HOST_NOT_FOUND = 8
163
+ CLASS_TYPE_NOT_FOUND = 9
164
+ ADDRESS_ALREADY_IN_USE = 10
165
+ CANNOT_ASSIGN_REQUESTED_ADDRESS = 11
166
+ CONNECTION_REFUSED = 12
167
+ NETWORK_IS_UNREACHABLE = 13
168
+ UNREACHABLE_HOST = 14
169
+ NETWORK_IS_DOWN = 15
170
+ NETWORK_DROPPED_CONNECTION_ON_RESET = 16
171
+ SOFTWARE_CAUSED_CONNECTION_ABORT = 17
172
+ CONNECTION_RESET_BY_PEER = 18
173
+ HOST_IS_DOWN = 19
174
+ NO_ADDRESSES_FOUND = 20
175
+ TOO_MANY_OPEN_FILES = 21
176
+ MESSAGE_TOO_LONG = 22
177
+ CERTIFICATE_EXPIRED = 23
178
+ CERTIFICATE_UNTRUSTED_ROOT = 24
179
+ CERTIFICATE_COMMON_NAME_IS_INCORRECT = 25
180
+ CERTIFICATE_WRONG_USAGE = 26
181
+ CERTIFICATE_REVOKED = 27
182
+ CERTIFICATE_NO_REVOCATION_CHECK = 28
183
+ CERTIFICATE_REVOCATION_SERVER_OFFLINE = 29
184
+ CERTIFICATE_IS_INVALID = 30
185
+
186
+ class SocketMessageType(enum.IntEnum):
187
+ BINARY = 0
188
+ UTF8 = 1
189
+
190
+ class SocketProtectionLevel(enum.IntEnum):
191
+ PLAIN_SOCKET = 0
192
+ SSL = 1
193
+ SSL_ALLOW_NULL_ENCRYPTION = 2
194
+ BLUETOOTH_ENCRYPTION_ALLOW_NULL_AUTHENTICATION = 3
195
+ BLUETOOTH_ENCRYPTION_WITH_AUTHENTICATION = 4
196
+ SSL3_ALLOW_WEAK_ENCRYPTION = 5
197
+ TLS10 = 6
198
+ TLS11 = 7
199
+ TLS12 = 8
200
+ UNSPECIFIED = 9
201
+ TLS13 = 10
202
+
203
+ class SocketQualityOfService(enum.IntEnum):
204
+ NORMAL = 0
205
+ LOW_LATENCY = 1
206
+
207
+ class SocketSslErrorSeverity(enum.IntEnum):
208
+ NONE = 0
209
+ IGNORABLE = 1
210
+ FATAL = 2
211
+
File without changes
@@ -0,0 +1,33 @@
1
+ Metadata-Version: 2.4
2
+ Name: winrt-Windows.Networking.Sockets
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.Background[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[all]~=3.2.1.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.Networking.Connectivity[all]~=3.2.1.0; extra == "all"
22
+ Requires-Dist: winrt-Windows.Security.Credentials[all]~=3.2.1.0; extra == "all"
23
+ Requires-Dist: winrt-Windows.Security.Cryptography.Certificates[all]~=3.2.1.0; extra == "all"
24
+ Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.0; extra == "all"
25
+ Requires-Dist: winrt-Windows.Web[all]~=3.2.1.0; 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,8 @@
1
+ winrt/_winrt_windows_networking_sockets.cp314-win_arm64.pyd,sha256=mQR9YwdXmqF7F0aDravWO0o91Diqdhj3MG62TMHqNTA,793088
2
+ winrt/_winrt_windows_networking_sockets.pyi,sha256=YtLcdtZI4CGzfCOxQyrVePZj6NEagtP114KgUomHDk0,76108
3
+ winrt/windows/networking/sockets/__init__.py,sha256=QDeFLE65wvhaXIW6aHxy50HnYT2coF4JsPDtfQgrhIU,5989
4
+ winrt/windows/networking/sockets/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_networking_sockets-3.2.1.dist-info/METADATA,sha256=6hjlMO9GS-SGvp4Zp4cYNLzEH3dX-uB_SZ_3ITTb2SU,1703
6
+ winrt_windows_networking_sockets-3.2.1.dist-info/WHEEL,sha256=bMXkUWfr_3hlaRObp_pv9_U0ksvQo0T0Mwq6lQkXaZc,101
7
+ winrt_windows_networking_sockets-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_networking_sockets-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
+