winrt-Windows.Web.Http.Diagnostics 4!10.0.28000.2705__py3-none-any.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,17 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import winrt.runtime._internals
4
+ import winrt.system
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
7
+
8
+ __all__ = [
9
+ "HttpDiagnosticRequestInitiator",
10
+ "HttpDiagnosticProvider",
11
+ "HttpDiagnosticProviderRequestResponseCompletedEventArgs",
12
+ "HttpDiagnosticProviderRequestResponseTimestamps",
13
+ "HttpDiagnosticProviderRequestSentEventArgs",
14
+ "HttpDiagnosticProviderResponseReceivedEventArgs",
15
+ "HttpDiagnosticSourceLocation",
16
+ ]
17
+
@@ -0,0 +1,178 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import collections.abc as _cabc
4
+ import datetime
5
+ import enum
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
10
+ import winrt.system
11
+ import winrt.windows.foundation as windows_foundation
12
+ import winrt.windows.foundation.collections as windows_foundation_collections
13
+ import winrt.windows.system.diagnostics as windows_system_diagnostics
14
+ import winrt.windows.web.http as windows_web_http
15
+
16
+ __all__ = [
17
+ "HttpDiagnosticRequestInitiator",
18
+ "HttpDiagnosticProvider",
19
+ "HttpDiagnosticProviderRequestResponseCompletedEventArgs",
20
+ "HttpDiagnosticProviderRequestResponseTimestamps",
21
+ "HttpDiagnosticProviderRequestSentEventArgs",
22
+ "HttpDiagnosticProviderResponseReceivedEventArgs",
23
+ "HttpDiagnosticSourceLocation",
24
+ ]
25
+
26
+ class HttpDiagnosticRequestInitiator(enum.IntEnum):
27
+ PARSED_ELEMENT = 0
28
+ SCRIPT = 1
29
+ IMAGE = 2
30
+ LINK = 3
31
+ STYLE = 4
32
+ XML_HTTP_REQUEST = 5
33
+ MEDIA = 6
34
+ HTML_DOWNLOAD = 7
35
+ PREFETCH = 8
36
+ OTHER = 9
37
+ CROSS_ORIGIN_PRE_FLIGHT = 10
38
+ FETCH = 11
39
+ BEACON = 12
40
+
41
+ @typing.final
42
+ class HttpDiagnosticProvider_Static(winrt.system.Object_Static):
43
+ # Windows.Web.Http.Diagnostics.HttpDiagnosticProvider Windows.Web.Http.Diagnostics.HttpDiagnosticProvider::CreateFromProcessDiagnosticInfo(Windows.System.Diagnostics.ProcessDiagnosticInfo)
44
+ def create_from_process_diagnostic_info(cls, process_diagnostic_info: windows_system_diagnostics.ProcessDiagnosticInfo, /) -> HttpDiagnosticProvider: ...
45
+
46
+ @typing.final
47
+ class HttpDiagnosticProvider(winrt.system.Object, metaclass=HttpDiagnosticProvider_Static):
48
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
49
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
50
+ # System.Void Windows.Web.Http.Diagnostics.HttpDiagnosticProvider::Start()
51
+ def start(self) -> None: ...
52
+ # System.Void Windows.Web.Http.Diagnostics.HttpDiagnosticProvider::Stop()
53
+ def stop(self) -> None: ...
54
+ # Windows.Foundation.EventRegistrationToken Windows.Web.Http.Diagnostics.HttpDiagnosticProvider::add_RequestResponseCompleted(Windows.Foundation.TypedEventHandler`2<Windows.Web.Http.Diagnostics.HttpDiagnosticProvider,Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs>)
55
+ def add_request_response_completed(self, handler: windows_foundation.TypedEventHandler[HttpDiagnosticProvider, HttpDiagnosticProviderRequestResponseCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
56
+ # System.Void Windows.Web.Http.Diagnostics.HttpDiagnosticProvider::remove_RequestResponseCompleted(Windows.Foundation.EventRegistrationToken)
57
+ def remove_request_response_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
58
+ # Windows.Foundation.EventRegistrationToken Windows.Web.Http.Diagnostics.HttpDiagnosticProvider::add_RequestSent(Windows.Foundation.TypedEventHandler`2<Windows.Web.Http.Diagnostics.HttpDiagnosticProvider,Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs>)
59
+ def add_request_sent(self, handler: windows_foundation.TypedEventHandler[HttpDiagnosticProvider, HttpDiagnosticProviderRequestSentEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
60
+ # System.Void Windows.Web.Http.Diagnostics.HttpDiagnosticProvider::remove_RequestSent(Windows.Foundation.EventRegistrationToken)
61
+ def remove_request_sent(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
62
+ # Windows.Foundation.EventRegistrationToken Windows.Web.Http.Diagnostics.HttpDiagnosticProvider::add_ResponseReceived(Windows.Foundation.TypedEventHandler`2<Windows.Web.Http.Diagnostics.HttpDiagnosticProvider,Windows.Web.Http.Diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs>)
63
+ def add_response_received(self, handler: windows_foundation.TypedEventHandler[HttpDiagnosticProvider, HttpDiagnosticProviderResponseReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
64
+ # System.Void Windows.Web.Http.Diagnostics.HttpDiagnosticProvider::remove_ResponseReceived(Windows.Foundation.EventRegistrationToken)
65
+ def remove_response_received(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
66
+
67
+ @typing.final
68
+ class HttpDiagnosticProviderRequestResponseCompletedEventArgs(winrt.system.Object):
69
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
70
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
71
+ # System.Guid Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs::get_ActivityId()
72
+ @_property
73
+ def activity_id(self) -> _uuid.UUID: ...
74
+ # Windows.Web.Http.Diagnostics.HttpDiagnosticRequestInitiator Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs::get_Initiator()
75
+ @_property
76
+ def initiator(self) -> HttpDiagnosticRequestInitiator: ...
77
+ # System.UInt32 Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs::get_ProcessId()
78
+ @_property
79
+ def process_id(self) -> winrt.system.UInt32: ...
80
+ # Windows.Foundation.Uri Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs::get_RequestedUri()
81
+ @_property
82
+ def requested_uri(self) -> windows_foundation.Uri: ...
83
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs::get_SourceLocations()
84
+ @_property
85
+ def source_locations(self) -> _cabc.Sequence[HttpDiagnosticSourceLocation]: ...
86
+ # System.UInt32 Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs::get_ThreadId()
87
+ @_property
88
+ def thread_id(self) -> winrt.system.UInt32: ...
89
+ # Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs::get_Timestamps()
90
+ @_property
91
+ def timestamps(self) -> HttpDiagnosticProviderRequestResponseTimestamps: ...
92
+
93
+ @typing.final
94
+ class HttpDiagnosticProviderRequestResponseTimestamps(winrt.system.Object):
95
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
96
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
97
+ # Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps::get_CacheCheckedTimestamp()
98
+ @_property
99
+ def cache_checked_timestamp(self) -> datetime.datetime | None: ...
100
+ # Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps::get_ConnectionCompletedTimestamp()
101
+ @_property
102
+ def connection_completed_timestamp(self) -> datetime.datetime | None: ...
103
+ # Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps::get_ConnectionInitiatedTimestamp()
104
+ @_property
105
+ def connection_initiated_timestamp(self) -> datetime.datetime | None: ...
106
+ # Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps::get_NameResolvedTimestamp()
107
+ @_property
108
+ def name_resolved_timestamp(self) -> datetime.datetime | None: ...
109
+ # Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps::get_RequestCompletedTimestamp()
110
+ @_property
111
+ def request_completed_timestamp(self) -> datetime.datetime | None: ...
112
+ # Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps::get_RequestSentTimestamp()
113
+ @_property
114
+ def request_sent_timestamp(self) -> datetime.datetime | None: ...
115
+ # Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps::get_ResponseCompletedTimestamp()
116
+ @_property
117
+ def response_completed_timestamp(self) -> datetime.datetime | None: ...
118
+ # Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps::get_ResponseReceivedTimestamp()
119
+ @_property
120
+ def response_received_timestamp(self) -> datetime.datetime | None: ...
121
+ # Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps::get_SslNegotiatedTimestamp()
122
+ @_property
123
+ def ssl_negotiated_timestamp(self) -> datetime.datetime | None: ...
124
+
125
+ @typing.final
126
+ class HttpDiagnosticProviderRequestSentEventArgs(winrt.system.Object):
127
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
128
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
129
+ # System.Guid Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs::get_ActivityId()
130
+ @_property
131
+ def activity_id(self) -> _uuid.UUID: ...
132
+ # Windows.Web.Http.Diagnostics.HttpDiagnosticRequestInitiator Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs::get_Initiator()
133
+ @_property
134
+ def initiator(self) -> HttpDiagnosticRequestInitiator: ...
135
+ # Windows.Web.Http.HttpRequestMessage Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs::get_Message()
136
+ @_property
137
+ def message(self) -> windows_web_http.HttpRequestMessage: ...
138
+ # System.UInt32 Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs::get_ProcessId()
139
+ @_property
140
+ def process_id(self) -> winrt.system.UInt32: ...
141
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs::get_SourceLocations()
142
+ @_property
143
+ def source_locations(self) -> _cabc.Sequence[HttpDiagnosticSourceLocation]: ...
144
+ # System.UInt32 Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs::get_ThreadId()
145
+ @_property
146
+ def thread_id(self) -> winrt.system.UInt32: ...
147
+ # Windows.Foundation.DateTime Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs::get_Timestamp()
148
+ @_property
149
+ def timestamp(self) -> datetime.datetime: ...
150
+
151
+ @typing.final
152
+ class HttpDiagnosticProviderResponseReceivedEventArgs(winrt.system.Object):
153
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
154
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
155
+ # System.Guid Windows.Web.Http.Diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs::get_ActivityId()
156
+ @_property
157
+ def activity_id(self) -> _uuid.UUID: ...
158
+ # Windows.Web.Http.HttpResponseMessage Windows.Web.Http.Diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs::get_Message()
159
+ @_property
160
+ def message(self) -> windows_web_http.HttpResponseMessage: ...
161
+ # Windows.Foundation.DateTime Windows.Web.Http.Diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs::get_Timestamp()
162
+ @_property
163
+ def timestamp(self) -> datetime.datetime: ...
164
+
165
+ @typing.final
166
+ class HttpDiagnosticSourceLocation(winrt.system.Object):
167
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
168
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
169
+ # System.UInt64 Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation::get_ColumnNumber()
170
+ @_property
171
+ def column_number(self) -> winrt.system.UInt64: ...
172
+ # System.UInt64 Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation::get_LineNumber()
173
+ @_property
174
+ def line_number(self) -> winrt.system.UInt64: ...
175
+ # Windows.Foundation.Uri Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation::get_SourceUri()
176
+ @_property
177
+ def source_uri(self) -> windows_foundation.Uri: ...
178
+
File without changes
@@ -0,0 +1,48 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.Web.Http.Diagnostics
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.Web.Http.Diagnostics namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
24
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
25
+ Provides-Extra: all
26
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
27
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-system-diagnostics[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Requires-Dist: winrt-windows-web-http[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Description-Content-Type: text/markdown
31
+
32
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
33
+
34
+ # winrt-Windows.Web.Http.Diagnostics
35
+
36
+ Windows Runtime (WinRT) APIs for the `Windows.Web.Http.Diagnostics` namespace.
37
+
38
+ This package provides the `winrt.windows.web.http.diagnostics` module.
39
+
40
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
41
+ `Microsoft.Windows.SDK.CPP` NuGet package.
42
+
43
+ ```
44
+ pip install winrt-Windows.Web.Http.Diagnostics
45
+ ```
46
+
47
+ Other WinRT namespaces are packages of their own, so install the package of
48
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/web/http/diagnostics/__init__.py,sha256=ny01ZtL0YjUyn_1sgEDU7B6uxFsLEMgmPJImT6oxqJk,521
2
+ winrt/windows/web/http/diagnostics/__init__.pyi,sha256=MtDP0xsliCa3NkvOmVAhsOutNkqawBE2QZ79YxK402g,12143
3
+ winrt/windows/web/http/diagnostics/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/web/http/diagnostics/_table.pywinrt,sha256=P7DP3CS1CrqtEazhA9cu4UqyABpHpfGotOguSI0nNfg,17712
5
+ winrt_windows_web_http_diagnostics-4!10.0.28000.2705.dist-info/METADATA,sha256=PbcjOGCzDDW7wPSkaeV61EC1nkBbM5l8xQc_0AqRCKk,2143
6
+ winrt_windows_web_http_diagnostics-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_web_http_diagnostics-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_web_http_diagnostics-4!10.0.28000.2705.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE