winrt-Windows.Web.Http.Diagnostics 2.0.1__tar.gz → 2.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (20) hide show
  1. {winrt_windows_web_http_diagnostics-2.0.1 → winrt_windows_web_http_diagnostics-2.1.0}/PKG-INFO +6 -6
  2. winrt_windows_web_http_diagnostics-2.1.0/all-requirements.txt +6 -0
  3. {winrt_windows_web_http_diagnostics-2.0.1 → winrt_windows_web_http_diagnostics-2.1.0}/py.Windows.Web.Http.Diagnostics.cpp +264 -284
  4. winrt_windows_web_http_diagnostics-2.1.0/pywinrt-version.txt +1 -0
  5. {winrt_windows_web_http_diagnostics-2.0.1 → winrt_windows_web_http_diagnostics-2.1.0}/requirements.txt +2 -2
  6. {winrt_windows_web_http_diagnostics-2.0.1 → winrt_windows_web_http_diagnostics-2.1.0}/winrt/_winrt_windows_web_http_diagnostics.pyi +18 -18
  7. {winrt_windows_web_http_diagnostics-2.0.1 → winrt_windows_web_http_diagnostics-2.1.0}/winrt/windows/web/http/diagnostics/__init__.py +1 -1
  8. {winrt_windows_web_http_diagnostics-2.0.1 → winrt_windows_web_http_diagnostics-2.1.0}/winrt_Windows.Web.Http.Diagnostics.egg-info/PKG-INFO +6 -6
  9. winrt_windows_web_http_diagnostics-2.1.0/winrt_Windows.Web.Http.Diagnostics.egg-info/requires.txt +7 -0
  10. winrt_windows_web_http_diagnostics-2.0.1/all-requirements.txt +0 -6
  11. winrt_windows_web_http_diagnostics-2.0.1/pywinrt-version.txt +0 -1
  12. winrt_windows_web_http_diagnostics-2.0.1/winrt_Windows.Web.Http.Diagnostics.egg-info/requires.txt +0 -7
  13. {winrt_windows_web_http_diagnostics-2.0.1 → winrt_windows_web_http_diagnostics-2.1.0}/README.md +0 -0
  14. {winrt_windows_web_http_diagnostics-2.0.1 → winrt_windows_web_http_diagnostics-2.1.0}/pyproject.toml +0 -0
  15. {winrt_windows_web_http_diagnostics-2.0.1 → winrt_windows_web_http_diagnostics-2.1.0}/setup.cfg +0 -0
  16. {winrt_windows_web_http_diagnostics-2.0.1 → winrt_windows_web_http_diagnostics-2.1.0}/setup.py +0 -0
  17. {winrt_windows_web_http_diagnostics-2.0.1 → winrt_windows_web_http_diagnostics-2.1.0}/winrt/windows/web/http/diagnostics/py.typed +0 -0
  18. {winrt_windows_web_http_diagnostics-2.0.1 → winrt_windows_web_http_diagnostics-2.1.0}/winrt_Windows.Web.Http.Diagnostics.egg-info/SOURCES.txt +0 -0
  19. {winrt_windows_web_http_diagnostics-2.0.1 → winrt_windows_web_http_diagnostics-2.1.0}/winrt_Windows.Web.Http.Diagnostics.egg-info/dependency_links.txt +0 -0
  20. {winrt_windows_web_http_diagnostics-2.0.1 → winrt_windows_web_http_diagnostics-2.1.0}/winrt_Windows.Web.Http.Diagnostics.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Web.Http.Diagnostics
3
- Version: 2.0.1
3
+ Version: 2.1.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -12,12 +12,12 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
13
  Requires-Python: <3.13,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.0.1
15
+ Requires-Dist: winrt-runtime==2.1.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
19
- Requires-Dist: winrt-Windows.System.Diagnostics[all]==2.0.1; extra == "all"
20
- Requires-Dist: winrt-Windows.Web.Http[all]==2.0.1; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.System.Diagnostics[all]==2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Web.Http[all]==2.1.0; extra == "all"
21
21
 
22
22
  <!-- warning: Please don't edit this file. It was automatically generated. -->
23
23
 
@@ -0,0 +1,6 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
+
3
+ winrt-Windows.Foundation[all]==2.1.0
4
+ winrt-Windows.Foundation.Collections[all]==2.1.0
5
+ winrt-Windows.System.Diagnostics[all]==2.1.0
6
+ winrt-Windows.Web.Http[all]==2.1.0
@@ -1,8 +1,7 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
3
  #include "py.Windows.Web.Http.Diagnostics.h"
4
4
 
5
-
6
5
  namespace py::cpp::Windows::Web::Http::Diagnostics
7
6
  {
8
7
  // ----- HttpDiagnosticProvider class --------------------
@@ -28,14 +27,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
28
27
 
29
28
  if (arg_count == 1)
30
29
  {
31
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProvider", L"CreateFromProcessDiagnosticInfo", 1))
32
- {
33
- py::set_arg_count_version_error(1);
34
- return nullptr;
35
- }
36
-
37
30
  try
38
31
  {
32
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProvider", L"CreateFromProcessDiagnosticInfo", 1))
33
+ {
34
+ py::set_arg_count_version_error(1);
35
+ return nullptr;
36
+ }
37
+
39
38
  auto param0 = py::convert_to<winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo>(args, 0);
40
39
 
41
40
  return py::convert(winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider::CreateFromProcessDiagnosticInfo(param0));
@@ -59,14 +58,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
59
58
 
60
59
  if (arg_count == 0)
61
60
  {
62
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProvider", L"Start", 0))
63
- {
64
- py::set_arg_count_version_error(0);
65
- return nullptr;
66
- }
67
-
68
61
  try
69
62
  {
63
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProvider", L"Start", 0))
64
+ {
65
+ py::set_arg_count_version_error(0);
66
+ return nullptr;
67
+ }
68
+
70
69
  self->obj.Start();
71
70
  Py_RETURN_NONE;
72
71
  }
@@ -89,14 +88,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
89
88
 
90
89
  if (arg_count == 0)
91
90
  {
92
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProvider", L"Stop", 0))
93
- {
94
- py::set_arg_count_version_error(0);
95
- return nullptr;
96
- }
97
-
98
91
  try
99
92
  {
93
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProvider", L"Stop", 0))
94
+ {
95
+ py::set_arg_count_version_error(0);
96
+ return nullptr;
97
+ }
98
+
100
99
  self->obj.Stop();
101
100
  Py_RETURN_NONE;
102
101
  }
@@ -115,14 +114,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
115
114
 
116
115
  static PyObject* HttpDiagnosticProvider_add_RequestResponseCompleted(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider* self, PyObject* arg) noexcept
117
116
  {
118
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProvider", L"RequestResponseCompleted"))
119
- {
120
- PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
121
- return nullptr;
122
- }
123
-
124
117
  try
125
118
  {
119
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProvider", L"RequestResponseCompleted"))
120
+ {
121
+ PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
122
+ return nullptr;
123
+ }
124
+
126
125
  auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseCompletedEventArgs>>(arg);
127
126
 
128
127
  return py::convert(self->obj.RequestResponseCompleted(param0));
@@ -136,14 +135,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
136
135
 
137
136
  static PyObject* HttpDiagnosticProvider_remove_RequestResponseCompleted(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider* self, PyObject* arg) noexcept
138
137
  {
139
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProvider", L"RequestResponseCompleted"))
140
- {
141
- PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
142
- return nullptr;
143
- }
144
-
145
138
  try
146
139
  {
140
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProvider", L"RequestResponseCompleted"))
141
+ {
142
+ PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
143
+ return nullptr;
144
+ }
145
+
147
146
  auto param0 = py::convert_to<winrt::event_token>(arg);
148
147
 
149
148
  self->obj.RequestResponseCompleted(param0);
@@ -158,14 +157,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
158
157
 
159
158
  static PyObject* HttpDiagnosticProvider_add_RequestSent(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider* self, PyObject* arg) noexcept
160
159
  {
161
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProvider", L"RequestSent"))
162
- {
163
- PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
164
- return nullptr;
165
- }
166
-
167
160
  try
168
161
  {
162
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProvider", L"RequestSent"))
163
+ {
164
+ PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
165
+ return nullptr;
166
+ }
167
+
169
168
  auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestSentEventArgs>>(arg);
170
169
 
171
170
  return py::convert(self->obj.RequestSent(param0));
@@ -179,14 +178,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
179
178
 
180
179
  static PyObject* HttpDiagnosticProvider_remove_RequestSent(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider* self, PyObject* arg) noexcept
181
180
  {
182
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProvider", L"RequestSent"))
183
- {
184
- PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
185
- return nullptr;
186
- }
187
-
188
181
  try
189
182
  {
183
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProvider", L"RequestSent"))
184
+ {
185
+ PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
186
+ return nullptr;
187
+ }
188
+
190
189
  auto param0 = py::convert_to<winrt::event_token>(arg);
191
190
 
192
191
  self->obj.RequestSent(param0);
@@ -201,14 +200,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
201
200
 
202
201
  static PyObject* HttpDiagnosticProvider_add_ResponseReceived(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider* self, PyObject* arg) noexcept
203
202
  {
204
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProvider", L"ResponseReceived"))
205
- {
206
- PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
207
- return nullptr;
208
- }
209
-
210
203
  try
211
204
  {
205
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProvider", L"ResponseReceived"))
206
+ {
207
+ PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
208
+ return nullptr;
209
+ }
210
+
212
211
  auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderResponseReceivedEventArgs>>(arg);
213
212
 
214
213
  return py::convert(self->obj.ResponseReceived(param0));
@@ -222,14 +221,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
222
221
 
223
222
  static PyObject* HttpDiagnosticProvider_remove_ResponseReceived(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider* self, PyObject* arg) noexcept
224
223
  {
225
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProvider", L"ResponseReceived"))
226
- {
227
- PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
228
- return nullptr;
229
- }
230
-
231
224
  try
232
225
  {
226
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProvider", L"ResponseReceived"))
227
+ {
228
+ PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
229
+ return nullptr;
230
+ }
231
+
233
232
  auto param0 = py::convert_to<winrt::event_token>(arg);
234
233
 
235
234
  self->obj.ResponseReceived(param0);
@@ -284,23 +283,20 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
284
283
  { }
285
284
  };
286
285
 
287
- static PyType_Slot _type_slots_HttpDiagnosticProvider[] =
288
- {
286
+ static PyType_Slot _type_slots_HttpDiagnosticProvider[] = {
289
287
  { Py_tp_new, reinterpret_cast<void*>(_new_HttpDiagnosticProvider) },
290
288
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_HttpDiagnosticProvider) },
291
289
  { Py_tp_methods, reinterpret_cast<void*>(_methods_HttpDiagnosticProvider) },
292
290
  { Py_tp_getset, reinterpret_cast<void*>(_getset_HttpDiagnosticProvider) },
293
- { },
291
+ { }
294
292
  };
295
293
 
296
- static PyType_Spec type_spec_HttpDiagnosticProvider =
297
- {
294
+ static PyType_Spec type_spec_HttpDiagnosticProvider = {
298
295
  "winrt._winrt_windows_web_http_diagnostics.HttpDiagnosticProvider",
299
296
  sizeof(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider),
300
297
  0,
301
298
  Py_TPFLAGS_DEFAULT,
302
- _type_slots_HttpDiagnosticProvider
303
- };
299
+ _type_slots_HttpDiagnosticProvider};
304
300
 
305
301
  static PyGetSetDef getset_HttpDiagnosticProvider_Static[] = {
306
302
  { }
@@ -347,14 +343,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
347
343
 
348
344
  static PyObject* HttpDiagnosticProviderRequestResponseCompletedEventArgs_get_ActivityId(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseCompletedEventArgs* self, void* /*unused*/) noexcept
349
345
  {
350
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs", L"ActivityId"))
351
- {
352
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
353
- return nullptr;
354
- }
355
-
356
346
  try
357
347
  {
348
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs", L"ActivityId"))
349
+ {
350
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
351
+ return nullptr;
352
+ }
353
+
358
354
  return py::convert(self->obj.ActivityId());
359
355
  }
360
356
  catch (...)
@@ -366,14 +362,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
366
362
 
367
363
  static PyObject* HttpDiagnosticProviderRequestResponseCompletedEventArgs_get_Initiator(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseCompletedEventArgs* self, void* /*unused*/) noexcept
368
364
  {
369
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs", L"Initiator"))
370
- {
371
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
372
- return nullptr;
373
- }
374
-
375
365
  try
376
366
  {
367
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs", L"Initiator"))
368
+ {
369
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
370
+ return nullptr;
371
+ }
372
+
377
373
  return py::convert(self->obj.Initiator());
378
374
  }
379
375
  catch (...)
@@ -385,14 +381,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
385
381
 
386
382
  static PyObject* HttpDiagnosticProviderRequestResponseCompletedEventArgs_get_ProcessId(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseCompletedEventArgs* self, void* /*unused*/) noexcept
387
383
  {
388
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs", L"ProcessId"))
389
- {
390
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
391
- return nullptr;
392
- }
393
-
394
384
  try
395
385
  {
386
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs", L"ProcessId"))
387
+ {
388
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
389
+ return nullptr;
390
+ }
391
+
396
392
  return py::convert(self->obj.ProcessId());
397
393
  }
398
394
  catch (...)
@@ -404,14 +400,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
404
400
 
405
401
  static PyObject* HttpDiagnosticProviderRequestResponseCompletedEventArgs_get_RequestedUri(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseCompletedEventArgs* self, void* /*unused*/) noexcept
406
402
  {
407
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs", L"RequestedUri"))
408
- {
409
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
410
- return nullptr;
411
- }
412
-
413
403
  try
414
404
  {
405
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs", L"RequestedUri"))
406
+ {
407
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
408
+ return nullptr;
409
+ }
410
+
415
411
  return py::convert(self->obj.RequestedUri());
416
412
  }
417
413
  catch (...)
@@ -423,14 +419,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
423
419
 
424
420
  static PyObject* HttpDiagnosticProviderRequestResponseCompletedEventArgs_get_SourceLocations(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseCompletedEventArgs* self, void* /*unused*/) noexcept
425
421
  {
426
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs", L"SourceLocations"))
427
- {
428
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
429
- return nullptr;
430
- }
431
-
432
422
  try
433
423
  {
424
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs", L"SourceLocations"))
425
+ {
426
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
427
+ return nullptr;
428
+ }
429
+
434
430
  return py::convert(self->obj.SourceLocations());
435
431
  }
436
432
  catch (...)
@@ -442,14 +438,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
442
438
 
443
439
  static PyObject* HttpDiagnosticProviderRequestResponseCompletedEventArgs_get_ThreadId(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseCompletedEventArgs* self, void* /*unused*/) noexcept
444
440
  {
445
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs", L"ThreadId"))
446
- {
447
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
448
- return nullptr;
449
- }
450
-
451
441
  try
452
442
  {
443
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs", L"ThreadId"))
444
+ {
445
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
446
+ return nullptr;
447
+ }
448
+
453
449
  return py::convert(self->obj.ThreadId());
454
450
  }
455
451
  catch (...)
@@ -461,14 +457,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
461
457
 
462
458
  static PyObject* HttpDiagnosticProviderRequestResponseCompletedEventArgs_get_Timestamps(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseCompletedEventArgs* self, void* /*unused*/) noexcept
463
459
  {
464
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs", L"Timestamps"))
465
- {
466
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
467
- return nullptr;
468
- }
469
-
470
460
  try
471
461
  {
462
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs", L"Timestamps"))
463
+ {
464
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
465
+ return nullptr;
466
+ }
467
+
472
468
  return py::convert(self->obj.Timestamps());
473
469
  }
474
470
  catch (...)
@@ -519,23 +515,20 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
519
515
  { }
520
516
  };
521
517
 
522
- static PyType_Slot _type_slots_HttpDiagnosticProviderRequestResponseCompletedEventArgs[] =
523
- {
518
+ static PyType_Slot _type_slots_HttpDiagnosticProviderRequestResponseCompletedEventArgs[] = {
524
519
  { Py_tp_new, reinterpret_cast<void*>(_new_HttpDiagnosticProviderRequestResponseCompletedEventArgs) },
525
520
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_HttpDiagnosticProviderRequestResponseCompletedEventArgs) },
526
521
  { Py_tp_methods, reinterpret_cast<void*>(_methods_HttpDiagnosticProviderRequestResponseCompletedEventArgs) },
527
522
  { Py_tp_getset, reinterpret_cast<void*>(_getset_HttpDiagnosticProviderRequestResponseCompletedEventArgs) },
528
- { },
523
+ { }
529
524
  };
530
525
 
531
- static PyType_Spec type_spec_HttpDiagnosticProviderRequestResponseCompletedEventArgs =
532
- {
526
+ static PyType_Spec type_spec_HttpDiagnosticProviderRequestResponseCompletedEventArgs = {
533
527
  "winrt._winrt_windows_web_http_diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs",
534
528
  sizeof(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseCompletedEventArgs),
535
529
  0,
536
530
  Py_TPFLAGS_DEFAULT,
537
- _type_slots_HttpDiagnosticProviderRequestResponseCompletedEventArgs
538
- };
531
+ _type_slots_HttpDiagnosticProviderRequestResponseCompletedEventArgs};
539
532
 
540
533
  // ----- HttpDiagnosticProviderRequestResponseTimestamps class --------------------
541
534
 
@@ -556,14 +549,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
556
549
 
557
550
  static PyObject* HttpDiagnosticProviderRequestResponseTimestamps_get_CacheCheckedTimestamp(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseTimestamps* self, void* /*unused*/) noexcept
558
551
  {
559
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps", L"CacheCheckedTimestamp"))
560
- {
561
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
562
- return nullptr;
563
- }
564
-
565
552
  try
566
553
  {
554
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps", L"CacheCheckedTimestamp"))
555
+ {
556
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
557
+ return nullptr;
558
+ }
559
+
567
560
  return py::convert(self->obj.CacheCheckedTimestamp());
568
561
  }
569
562
  catch (...)
@@ -575,14 +568,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
575
568
 
576
569
  static PyObject* HttpDiagnosticProviderRequestResponseTimestamps_get_ConnectionCompletedTimestamp(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseTimestamps* self, void* /*unused*/) noexcept
577
570
  {
578
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps", L"ConnectionCompletedTimestamp"))
579
- {
580
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
581
- return nullptr;
582
- }
583
-
584
571
  try
585
572
  {
573
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps", L"ConnectionCompletedTimestamp"))
574
+ {
575
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
576
+ return nullptr;
577
+ }
578
+
586
579
  return py::convert(self->obj.ConnectionCompletedTimestamp());
587
580
  }
588
581
  catch (...)
@@ -594,14 +587,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
594
587
 
595
588
  static PyObject* HttpDiagnosticProviderRequestResponseTimestamps_get_ConnectionInitiatedTimestamp(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseTimestamps* self, void* /*unused*/) noexcept
596
589
  {
597
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps", L"ConnectionInitiatedTimestamp"))
598
- {
599
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
600
- return nullptr;
601
- }
602
-
603
590
  try
604
591
  {
592
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps", L"ConnectionInitiatedTimestamp"))
593
+ {
594
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
595
+ return nullptr;
596
+ }
597
+
605
598
  return py::convert(self->obj.ConnectionInitiatedTimestamp());
606
599
  }
607
600
  catch (...)
@@ -613,14 +606,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
613
606
 
614
607
  static PyObject* HttpDiagnosticProviderRequestResponseTimestamps_get_NameResolvedTimestamp(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseTimestamps* self, void* /*unused*/) noexcept
615
608
  {
616
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps", L"NameResolvedTimestamp"))
617
- {
618
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
619
- return nullptr;
620
- }
621
-
622
609
  try
623
610
  {
611
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps", L"NameResolvedTimestamp"))
612
+ {
613
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
614
+ return nullptr;
615
+ }
616
+
624
617
  return py::convert(self->obj.NameResolvedTimestamp());
625
618
  }
626
619
  catch (...)
@@ -632,14 +625,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
632
625
 
633
626
  static PyObject* HttpDiagnosticProviderRequestResponseTimestamps_get_RequestCompletedTimestamp(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseTimestamps* self, void* /*unused*/) noexcept
634
627
  {
635
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps", L"RequestCompletedTimestamp"))
636
- {
637
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
638
- return nullptr;
639
- }
640
-
641
628
  try
642
629
  {
630
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps", L"RequestCompletedTimestamp"))
631
+ {
632
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
633
+ return nullptr;
634
+ }
635
+
643
636
  return py::convert(self->obj.RequestCompletedTimestamp());
644
637
  }
645
638
  catch (...)
@@ -651,14 +644,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
651
644
 
652
645
  static PyObject* HttpDiagnosticProviderRequestResponseTimestamps_get_RequestSentTimestamp(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseTimestamps* self, void* /*unused*/) noexcept
653
646
  {
654
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps", L"RequestSentTimestamp"))
655
- {
656
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
657
- return nullptr;
658
- }
659
-
660
647
  try
661
648
  {
649
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps", L"RequestSentTimestamp"))
650
+ {
651
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
652
+ return nullptr;
653
+ }
654
+
662
655
  return py::convert(self->obj.RequestSentTimestamp());
663
656
  }
664
657
  catch (...)
@@ -670,14 +663,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
670
663
 
671
664
  static PyObject* HttpDiagnosticProviderRequestResponseTimestamps_get_ResponseCompletedTimestamp(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseTimestamps* self, void* /*unused*/) noexcept
672
665
  {
673
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps", L"ResponseCompletedTimestamp"))
674
- {
675
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
676
- return nullptr;
677
- }
678
-
679
666
  try
680
667
  {
668
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps", L"ResponseCompletedTimestamp"))
669
+ {
670
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
671
+ return nullptr;
672
+ }
673
+
681
674
  return py::convert(self->obj.ResponseCompletedTimestamp());
682
675
  }
683
676
  catch (...)
@@ -689,14 +682,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
689
682
 
690
683
  static PyObject* HttpDiagnosticProviderRequestResponseTimestamps_get_ResponseReceivedTimestamp(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseTimestamps* self, void* /*unused*/) noexcept
691
684
  {
692
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps", L"ResponseReceivedTimestamp"))
693
- {
694
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
695
- return nullptr;
696
- }
697
-
698
685
  try
699
686
  {
687
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps", L"ResponseReceivedTimestamp"))
688
+ {
689
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
690
+ return nullptr;
691
+ }
692
+
700
693
  return py::convert(self->obj.ResponseReceivedTimestamp());
701
694
  }
702
695
  catch (...)
@@ -708,14 +701,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
708
701
 
709
702
  static PyObject* HttpDiagnosticProviderRequestResponseTimestamps_get_SslNegotiatedTimestamp(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseTimestamps* self, void* /*unused*/) noexcept
710
703
  {
711
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps", L"SslNegotiatedTimestamp"))
712
- {
713
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
714
- return nullptr;
715
- }
716
-
717
704
  try
718
705
  {
706
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps", L"SslNegotiatedTimestamp"))
707
+ {
708
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
709
+ return nullptr;
710
+ }
711
+
719
712
  return py::convert(self->obj.SslNegotiatedTimestamp());
720
713
  }
721
714
  catch (...)
@@ -768,23 +761,20 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
768
761
  { }
769
762
  };
770
763
 
771
- static PyType_Slot _type_slots_HttpDiagnosticProviderRequestResponseTimestamps[] =
772
- {
764
+ static PyType_Slot _type_slots_HttpDiagnosticProviderRequestResponseTimestamps[] = {
773
765
  { Py_tp_new, reinterpret_cast<void*>(_new_HttpDiagnosticProviderRequestResponseTimestamps) },
774
766
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_HttpDiagnosticProviderRequestResponseTimestamps) },
775
767
  { Py_tp_methods, reinterpret_cast<void*>(_methods_HttpDiagnosticProviderRequestResponseTimestamps) },
776
768
  { Py_tp_getset, reinterpret_cast<void*>(_getset_HttpDiagnosticProviderRequestResponseTimestamps) },
777
- { },
769
+ { }
778
770
  };
779
771
 
780
- static PyType_Spec type_spec_HttpDiagnosticProviderRequestResponseTimestamps =
781
- {
772
+ static PyType_Spec type_spec_HttpDiagnosticProviderRequestResponseTimestamps = {
782
773
  "winrt._winrt_windows_web_http_diagnostics.HttpDiagnosticProviderRequestResponseTimestamps",
783
774
  sizeof(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseTimestamps),
784
775
  0,
785
776
  Py_TPFLAGS_DEFAULT,
786
- _type_slots_HttpDiagnosticProviderRequestResponseTimestamps
787
- };
777
+ _type_slots_HttpDiagnosticProviderRequestResponseTimestamps};
788
778
 
789
779
  // ----- HttpDiagnosticProviderRequestSentEventArgs class --------------------
790
780
 
@@ -805,14 +795,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
805
795
 
806
796
  static PyObject* HttpDiagnosticProviderRequestSentEventArgs_get_ActivityId(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestSentEventArgs* self, void* /*unused*/) noexcept
807
797
  {
808
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs", L"ActivityId"))
809
- {
810
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
811
- return nullptr;
812
- }
813
-
814
798
  try
815
799
  {
800
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs", L"ActivityId"))
801
+ {
802
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
803
+ return nullptr;
804
+ }
805
+
816
806
  return py::convert(self->obj.ActivityId());
817
807
  }
818
808
  catch (...)
@@ -824,14 +814,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
824
814
 
825
815
  static PyObject* HttpDiagnosticProviderRequestSentEventArgs_get_Initiator(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestSentEventArgs* self, void* /*unused*/) noexcept
826
816
  {
827
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs", L"Initiator"))
828
- {
829
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
830
- return nullptr;
831
- }
832
-
833
817
  try
834
818
  {
819
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs", L"Initiator"))
820
+ {
821
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
822
+ return nullptr;
823
+ }
824
+
835
825
  return py::convert(self->obj.Initiator());
836
826
  }
837
827
  catch (...)
@@ -843,14 +833,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
843
833
 
844
834
  static PyObject* HttpDiagnosticProviderRequestSentEventArgs_get_Message(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestSentEventArgs* self, void* /*unused*/) noexcept
845
835
  {
846
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs", L"Message"))
847
- {
848
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
849
- return nullptr;
850
- }
851
-
852
836
  try
853
837
  {
838
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs", L"Message"))
839
+ {
840
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
841
+ return nullptr;
842
+ }
843
+
854
844
  return py::convert(self->obj.Message());
855
845
  }
856
846
  catch (...)
@@ -862,14 +852,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
862
852
 
863
853
  static PyObject* HttpDiagnosticProviderRequestSentEventArgs_get_ProcessId(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestSentEventArgs* self, void* /*unused*/) noexcept
864
854
  {
865
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs", L"ProcessId"))
866
- {
867
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
868
- return nullptr;
869
- }
870
-
871
855
  try
872
856
  {
857
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs", L"ProcessId"))
858
+ {
859
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
860
+ return nullptr;
861
+ }
862
+
873
863
  return py::convert(self->obj.ProcessId());
874
864
  }
875
865
  catch (...)
@@ -881,14 +871,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
881
871
 
882
872
  static PyObject* HttpDiagnosticProviderRequestSentEventArgs_get_SourceLocations(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestSentEventArgs* self, void* /*unused*/) noexcept
883
873
  {
884
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs", L"SourceLocations"))
885
- {
886
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
887
- return nullptr;
888
- }
889
-
890
874
  try
891
875
  {
876
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs", L"SourceLocations"))
877
+ {
878
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
879
+ return nullptr;
880
+ }
881
+
892
882
  return py::convert(self->obj.SourceLocations());
893
883
  }
894
884
  catch (...)
@@ -900,14 +890,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
900
890
 
901
891
  static PyObject* HttpDiagnosticProviderRequestSentEventArgs_get_ThreadId(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestSentEventArgs* self, void* /*unused*/) noexcept
902
892
  {
903
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs", L"ThreadId"))
904
- {
905
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
906
- return nullptr;
907
- }
908
-
909
893
  try
910
894
  {
895
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs", L"ThreadId"))
896
+ {
897
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
898
+ return nullptr;
899
+ }
900
+
911
901
  return py::convert(self->obj.ThreadId());
912
902
  }
913
903
  catch (...)
@@ -919,14 +909,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
919
909
 
920
910
  static PyObject* HttpDiagnosticProviderRequestSentEventArgs_get_Timestamp(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestSentEventArgs* self, void* /*unused*/) noexcept
921
911
  {
922
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs", L"Timestamp"))
923
- {
924
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
925
- return nullptr;
926
- }
927
-
928
912
  try
929
913
  {
914
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs", L"Timestamp"))
915
+ {
916
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
917
+ return nullptr;
918
+ }
919
+
930
920
  return py::convert(self->obj.Timestamp());
931
921
  }
932
922
  catch (...)
@@ -977,23 +967,20 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
977
967
  { }
978
968
  };
979
969
 
980
- static PyType_Slot _type_slots_HttpDiagnosticProviderRequestSentEventArgs[] =
981
- {
970
+ static PyType_Slot _type_slots_HttpDiagnosticProviderRequestSentEventArgs[] = {
982
971
  { Py_tp_new, reinterpret_cast<void*>(_new_HttpDiagnosticProviderRequestSentEventArgs) },
983
972
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_HttpDiagnosticProviderRequestSentEventArgs) },
984
973
  { Py_tp_methods, reinterpret_cast<void*>(_methods_HttpDiagnosticProviderRequestSentEventArgs) },
985
974
  { Py_tp_getset, reinterpret_cast<void*>(_getset_HttpDiagnosticProviderRequestSentEventArgs) },
986
- { },
975
+ { }
987
976
  };
988
977
 
989
- static PyType_Spec type_spec_HttpDiagnosticProviderRequestSentEventArgs =
990
- {
978
+ static PyType_Spec type_spec_HttpDiagnosticProviderRequestSentEventArgs = {
991
979
  "winrt._winrt_windows_web_http_diagnostics.HttpDiagnosticProviderRequestSentEventArgs",
992
980
  sizeof(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestSentEventArgs),
993
981
  0,
994
982
  Py_TPFLAGS_DEFAULT,
995
- _type_slots_HttpDiagnosticProviderRequestSentEventArgs
996
- };
983
+ _type_slots_HttpDiagnosticProviderRequestSentEventArgs};
997
984
 
998
985
  // ----- HttpDiagnosticProviderResponseReceivedEventArgs class --------------------
999
986
 
@@ -1014,14 +1001,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
1014
1001
 
1015
1002
  static PyObject* HttpDiagnosticProviderResponseReceivedEventArgs_get_ActivityId(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderResponseReceivedEventArgs* self, void* /*unused*/) noexcept
1016
1003
  {
1017
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs", L"ActivityId"))
1018
- {
1019
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1020
- return nullptr;
1021
- }
1022
-
1023
1004
  try
1024
1005
  {
1006
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs", L"ActivityId"))
1007
+ {
1008
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1009
+ return nullptr;
1010
+ }
1011
+
1025
1012
  return py::convert(self->obj.ActivityId());
1026
1013
  }
1027
1014
  catch (...)
@@ -1033,14 +1020,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
1033
1020
 
1034
1021
  static PyObject* HttpDiagnosticProviderResponseReceivedEventArgs_get_Message(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderResponseReceivedEventArgs* self, void* /*unused*/) noexcept
1035
1022
  {
1036
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs", L"Message"))
1037
- {
1038
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1039
- return nullptr;
1040
- }
1041
-
1042
1023
  try
1043
1024
  {
1025
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs", L"Message"))
1026
+ {
1027
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1028
+ return nullptr;
1029
+ }
1030
+
1044
1031
  return py::convert(self->obj.Message());
1045
1032
  }
1046
1033
  catch (...)
@@ -1052,14 +1039,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
1052
1039
 
1053
1040
  static PyObject* HttpDiagnosticProviderResponseReceivedEventArgs_get_Timestamp(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderResponseReceivedEventArgs* self, void* /*unused*/) noexcept
1054
1041
  {
1055
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs", L"Timestamp"))
1056
- {
1057
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1058
- return nullptr;
1059
- }
1060
-
1061
1042
  try
1062
1043
  {
1044
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs", L"Timestamp"))
1045
+ {
1046
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1047
+ return nullptr;
1048
+ }
1049
+
1063
1050
  return py::convert(self->obj.Timestamp());
1064
1051
  }
1065
1052
  catch (...)
@@ -1106,23 +1093,20 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
1106
1093
  { }
1107
1094
  };
1108
1095
 
1109
- static PyType_Slot _type_slots_HttpDiagnosticProviderResponseReceivedEventArgs[] =
1110
- {
1096
+ static PyType_Slot _type_slots_HttpDiagnosticProviderResponseReceivedEventArgs[] = {
1111
1097
  { Py_tp_new, reinterpret_cast<void*>(_new_HttpDiagnosticProviderResponseReceivedEventArgs) },
1112
1098
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_HttpDiagnosticProviderResponseReceivedEventArgs) },
1113
1099
  { Py_tp_methods, reinterpret_cast<void*>(_methods_HttpDiagnosticProviderResponseReceivedEventArgs) },
1114
1100
  { Py_tp_getset, reinterpret_cast<void*>(_getset_HttpDiagnosticProviderResponseReceivedEventArgs) },
1115
- { },
1101
+ { }
1116
1102
  };
1117
1103
 
1118
- static PyType_Spec type_spec_HttpDiagnosticProviderResponseReceivedEventArgs =
1119
- {
1104
+ static PyType_Spec type_spec_HttpDiagnosticProviderResponseReceivedEventArgs = {
1120
1105
  "winrt._winrt_windows_web_http_diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs",
1121
1106
  sizeof(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderResponseReceivedEventArgs),
1122
1107
  0,
1123
1108
  Py_TPFLAGS_DEFAULT,
1124
- _type_slots_HttpDiagnosticProviderResponseReceivedEventArgs
1125
- };
1109
+ _type_slots_HttpDiagnosticProviderResponseReceivedEventArgs};
1126
1110
 
1127
1111
  // ----- HttpDiagnosticSourceLocation class --------------------
1128
1112
 
@@ -1143,14 +1127,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
1143
1127
 
1144
1128
  static PyObject* HttpDiagnosticSourceLocation_get_ColumnNumber(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticSourceLocation* self, void* /*unused*/) noexcept
1145
1129
  {
1146
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation", L"ColumnNumber"))
1147
- {
1148
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1149
- return nullptr;
1150
- }
1151
-
1152
1130
  try
1153
1131
  {
1132
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation", L"ColumnNumber"))
1133
+ {
1134
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1135
+ return nullptr;
1136
+ }
1137
+
1154
1138
  return py::convert(self->obj.ColumnNumber());
1155
1139
  }
1156
1140
  catch (...)
@@ -1162,14 +1146,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
1162
1146
 
1163
1147
  static PyObject* HttpDiagnosticSourceLocation_get_LineNumber(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticSourceLocation* self, void* /*unused*/) noexcept
1164
1148
  {
1165
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation", L"LineNumber"))
1166
- {
1167
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1168
- return nullptr;
1169
- }
1170
-
1171
1149
  try
1172
1150
  {
1151
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation", L"LineNumber"))
1152
+ {
1153
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1154
+ return nullptr;
1155
+ }
1156
+
1173
1157
  return py::convert(self->obj.LineNumber());
1174
1158
  }
1175
1159
  catch (...)
@@ -1181,14 +1165,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
1181
1165
 
1182
1166
  static PyObject* HttpDiagnosticSourceLocation_get_SourceUri(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticSourceLocation* self, void* /*unused*/) noexcept
1183
1167
  {
1184
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation", L"SourceUri"))
1185
- {
1186
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1187
- return nullptr;
1188
- }
1189
-
1190
1168
  try
1191
1169
  {
1170
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation", L"SourceUri"))
1171
+ {
1172
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1173
+ return nullptr;
1174
+ }
1175
+
1192
1176
  return py::convert(self->obj.SourceUri());
1193
1177
  }
1194
1178
  catch (...)
@@ -1235,39 +1219,35 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
1235
1219
  { }
1236
1220
  };
1237
1221
 
1238
- static PyType_Slot _type_slots_HttpDiagnosticSourceLocation[] =
1239
- {
1222
+ static PyType_Slot _type_slots_HttpDiagnosticSourceLocation[] = {
1240
1223
  { Py_tp_new, reinterpret_cast<void*>(_new_HttpDiagnosticSourceLocation) },
1241
1224
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_HttpDiagnosticSourceLocation) },
1242
1225
  { Py_tp_methods, reinterpret_cast<void*>(_methods_HttpDiagnosticSourceLocation) },
1243
1226
  { Py_tp_getset, reinterpret_cast<void*>(_getset_HttpDiagnosticSourceLocation) },
1244
- { },
1227
+ { }
1245
1228
  };
1246
1229
 
1247
- static PyType_Spec type_spec_HttpDiagnosticSourceLocation =
1248
- {
1230
+ static PyType_Spec type_spec_HttpDiagnosticSourceLocation = {
1249
1231
  "winrt._winrt_windows_web_http_diagnostics.HttpDiagnosticSourceLocation",
1250
1232
  sizeof(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticSourceLocation),
1251
1233
  0,
1252
1234
  Py_TPFLAGS_DEFAULT,
1253
- _type_slots_HttpDiagnosticSourceLocation
1254
- };
1235
+ _type_slots_HttpDiagnosticSourceLocation};
1255
1236
 
1256
1237
  // ----- Windows.Web.Http.Diagnostics Initialization --------------------
1257
- PyDoc_STRVAR(module_doc, "Windows::Web::Http::Diagnostics");
1258
1238
 
1239
+ PyDoc_STRVAR(module_doc, "Windows.Web.Http.Diagnostics");
1259
1240
 
1260
- static PyModuleDef module_def
1261
- = {PyModuleDef_HEAD_INIT,
1262
- "_winrt_windows_web_http_diagnostics",
1263
- module_doc,
1264
- 0,
1265
- nullptr,
1266
- nullptr,
1267
- nullptr,
1268
- nullptr,
1269
- nullptr};
1270
-
1241
+ static PyModuleDef module_def = {
1242
+ PyModuleDef_HEAD_INIT,
1243
+ "_winrt_windows_web_http_diagnostics",
1244
+ module_doc,
1245
+ 0,
1246
+ nullptr,
1247
+ nullptr,
1248
+ nullptr,
1249
+ nullptr,
1250
+ nullptr};
1271
1251
  } // py::cpp::Windows::Web::Http::Diagnostics
1272
1252
 
1273
1253
  PyMODINIT_FUNC PyInit__winrt_windows_web_http_diagnostics(void) noexcept
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
- winrt-runtime==2.0.1
3
+ winrt-runtime==2.1.0
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -9,10 +9,10 @@ from builtins import property as _property
9
9
 
10
10
  import winrt._winrt
11
11
  import winrt.system
12
- import winrt.windows.foundation
13
- import winrt.windows.foundation.collections
14
- import winrt.windows.system.diagnostics
15
- import winrt.windows.web.http
12
+ import winrt.windows.foundation as windows_foundation
13
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
+ import winrt.windows.system.diagnostics as windows_system_diagnostics
15
+ import winrt.windows.web.http as windows_web_http
16
16
 
17
17
  from winrt.windows.web.http.diagnostics import HttpDiagnosticRequestInitiator
18
18
 
@@ -20,7 +20,7 @@ Self = typing.TypeVar('Self')
20
20
 
21
21
  @typing.final
22
22
  class HttpDiagnosticProvider_Static(type):
23
- def create_from_process_diagnostic_info(cls, process_diagnostic_info: typing.Optional[winrt.windows.system.diagnostics.ProcessDiagnosticInfo], /) -> typing.Optional[HttpDiagnosticProvider]: ...
23
+ def create_from_process_diagnostic_info(cls, process_diagnostic_info: typing.Optional[windows_system_diagnostics.ProcessDiagnosticInfo], /) -> typing.Optional[HttpDiagnosticProvider]: ...
24
24
 
25
25
  @typing.final
26
26
  class HttpDiagnosticProvider(winrt.system.Object, metaclass=HttpDiagnosticProvider_Static):
@@ -28,12 +28,12 @@ class HttpDiagnosticProvider(winrt.system.Object, metaclass=HttpDiagnosticProvid
28
28
  def _from(obj: winrt.system.Object, /) -> HttpDiagnosticProvider: ...
29
29
  def start(self) -> None: ...
30
30
  def stop(self) -> None: ...
31
- def add_request_response_completed(self, handler: winrt.windows.foundation.TypedEventHandler[HttpDiagnosticProvider, HttpDiagnosticProviderRequestResponseCompletedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
32
- def remove_request_response_completed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
33
- def add_request_sent(self, handler: winrt.windows.foundation.TypedEventHandler[HttpDiagnosticProvider, HttpDiagnosticProviderRequestSentEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
34
- def remove_request_sent(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
35
- def add_response_received(self, handler: winrt.windows.foundation.TypedEventHandler[HttpDiagnosticProvider, HttpDiagnosticProviderResponseReceivedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
36
- def remove_response_received(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
31
+ def add_request_response_completed(self, handler: windows_foundation.TypedEventHandler[HttpDiagnosticProvider, HttpDiagnosticProviderRequestResponseCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
32
+ def remove_request_response_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
33
+ def add_request_sent(self, handler: windows_foundation.TypedEventHandler[HttpDiagnosticProvider, HttpDiagnosticProviderRequestSentEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
34
+ def remove_request_sent(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
35
+ def add_response_received(self, handler: windows_foundation.TypedEventHandler[HttpDiagnosticProvider, HttpDiagnosticProviderResponseReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
36
+ def remove_response_received(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
37
37
 
38
38
  @typing.final
39
39
  class HttpDiagnosticProviderRequestResponseCompletedEventArgs(winrt.system.Object):
@@ -46,9 +46,9 @@ class HttpDiagnosticProviderRequestResponseCompletedEventArgs(winrt.system.Objec
46
46
  @_property
47
47
  def process_id(self) -> winrt.system.UInt32: ...
48
48
  @_property
49
- def requested_uri(self) -> typing.Optional[winrt.windows.foundation.Uri]: ...
49
+ def requested_uri(self) -> typing.Optional[windows_foundation.Uri]: ...
50
50
  @_property
51
- def source_locations(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[HttpDiagnosticSourceLocation]]: ...
51
+ def source_locations(self) -> typing.Optional[windows_foundation_collections.IVectorView[HttpDiagnosticSourceLocation]]: ...
52
52
  @_property
53
53
  def thread_id(self) -> winrt.system.UInt32: ...
54
54
  @_property
@@ -86,11 +86,11 @@ class HttpDiagnosticProviderRequestSentEventArgs(winrt.system.Object):
86
86
  @_property
87
87
  def initiator(self) -> HttpDiagnosticRequestInitiator: ...
88
88
  @_property
89
- def message(self) -> typing.Optional[winrt.windows.web.http.HttpRequestMessage]: ...
89
+ def message(self) -> typing.Optional[windows_web_http.HttpRequestMessage]: ...
90
90
  @_property
91
91
  def process_id(self) -> winrt.system.UInt32: ...
92
92
  @_property
93
- def source_locations(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[HttpDiagnosticSourceLocation]]: ...
93
+ def source_locations(self) -> typing.Optional[windows_foundation_collections.IVectorView[HttpDiagnosticSourceLocation]]: ...
94
94
  @_property
95
95
  def thread_id(self) -> winrt.system.UInt32: ...
96
96
  @_property
@@ -103,7 +103,7 @@ class HttpDiagnosticProviderResponseReceivedEventArgs(winrt.system.Object):
103
103
  @_property
104
104
  def activity_id(self) -> _uuid.UUID: ...
105
105
  @_property
106
- def message(self) -> typing.Optional[winrt.windows.web.http.HttpResponseMessage]: ...
106
+ def message(self) -> typing.Optional[windows_web_http.HttpResponseMessage]: ...
107
107
  @_property
108
108
  def timestamp(self) -> datetime.datetime: ...
109
109
 
@@ -116,5 +116,5 @@ class HttpDiagnosticSourceLocation(winrt.system.Object):
116
116
  @_property
117
117
  def line_number(self) -> winrt.system.UInt64: ...
118
118
  @_property
119
- def source_uri(self) -> typing.Optional[winrt.windows.foundation.Uri]: ...
119
+ def source_uri(self) -> typing.Optional[windows_foundation.Uri]: ...
120
120
 
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
3
  import enum
4
4
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Web.Http.Diagnostics
3
- Version: 2.0.1
3
+ Version: 2.1.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -12,12 +12,12 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
13
  Requires-Python: <3.13,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.0.1
15
+ Requires-Dist: winrt-runtime==2.1.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
19
- Requires-Dist: winrt-Windows.System.Diagnostics[all]==2.0.1; extra == "all"
20
- Requires-Dist: winrt-Windows.Web.Http[all]==2.0.1; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.System.Diagnostics[all]==2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Web.Http[all]==2.1.0; extra == "all"
21
21
 
22
22
  <!-- warning: Please don't edit this file. It was automatically generated. -->
23
23
 
@@ -0,0 +1,7 @@
1
+ winrt-runtime==2.1.0
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]==2.1.0
5
+ winrt-Windows.Foundation.Collections[all]==2.1.0
6
+ winrt-Windows.System.Diagnostics[all]==2.1.0
7
+ winrt-Windows.Web.Http[all]==2.1.0
@@ -1,6 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
-
3
- winrt-Windows.Foundation[all]==2.0.1
4
- winrt-Windows.Foundation.Collections[all]==2.0.1
5
- winrt-Windows.System.Diagnostics[all]==2.0.1
6
- winrt-Windows.Web.Http[all]==2.0.1
@@ -1,7 +0,0 @@
1
- winrt-runtime==2.0.1
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]==2.0.1
5
- winrt-Windows.Foundation.Collections[all]==2.0.1
6
- winrt-Windows.System.Diagnostics[all]==2.0.1
7
- winrt-Windows.Web.Http[all]==2.0.1