winrt-Windows.Web.Http.Diagnostics 2.2.0__tar.gz → 3.0.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.
- {winrt_windows_web_http_diagnostics-2.2.0 → winrt_windows_web_http_diagnostics-3.0.0}/PKG-INFO +7 -7
- winrt_windows_web_http_diagnostics-3.0.0/all-requirements.txt +6 -0
- {winrt_windows_web_http_diagnostics-2.2.0 → winrt_windows_web_http_diagnostics-3.0.0}/py.Windows.Web.Http.Diagnostics.cpp +234 -92
- {winrt_windows_web_http_diagnostics-2.2.0 → winrt_windows_web_http_diagnostics-3.0.0}/pyproject.toml +2 -2
- winrt_windows_web_http_diagnostics-3.0.0/pywinrt-version.txt +1 -0
- {winrt_windows_web_http_diagnostics-2.2.0 → winrt_windows_web_http_diagnostics-3.0.0}/requirements.txt +2 -2
- {winrt_windows_web_http_diagnostics-2.2.0 → winrt_windows_web_http_diagnostics-3.0.0}/setup.py +1 -1
- winrt_windows_web_http_diagnostics-3.0.0/winrt/_winrt_windows_web_http_diagnostics.pyi +146 -0
- winrt_windows_web_http_diagnostics-3.0.0/winrt/windows/web/http/diagnostics/__init__.py +39 -0
- {winrt_windows_web_http_diagnostics-2.2.0 → winrt_windows_web_http_diagnostics-3.0.0}/winrt_Windows.Web.Http.Diagnostics.egg-info/PKG-INFO +7 -7
- winrt_windows_web_http_diagnostics-3.0.0/winrt_Windows.Web.Http.Diagnostics.egg-info/requires.txt +7 -0
- winrt_windows_web_http_diagnostics-2.2.0/all-requirements.txt +0 -6
- winrt_windows_web_http_diagnostics-2.2.0/pywinrt-version.txt +0 -1
- winrt_windows_web_http_diagnostics-2.2.0/winrt/_winrt_windows_web_http_diagnostics.pyi +0 -120
- winrt_windows_web_http_diagnostics-2.2.0/winrt/windows/web/http/diagnostics/__init__.py +0 -38
- winrt_windows_web_http_diagnostics-2.2.0/winrt_Windows.Web.Http.Diagnostics.egg-info/requires.txt +0 -7
- {winrt_windows_web_http_diagnostics-2.2.0 → winrt_windows_web_http_diagnostics-3.0.0}/README.md +0 -0
- {winrt_windows_web_http_diagnostics-2.2.0 → winrt_windows_web_http_diagnostics-3.0.0}/setup.cfg +0 -0
- {winrt_windows_web_http_diagnostics-2.2.0 → winrt_windows_web_http_diagnostics-3.0.0}/winrt/windows/web/http/diagnostics/py.typed +0 -0
- {winrt_windows_web_http_diagnostics-2.2.0 → winrt_windows_web_http_diagnostics-3.0.0}/winrt_Windows.Web.Http.Diagnostics.egg-info/SOURCES.txt +0 -0
- {winrt_windows_web_http_diagnostics-2.2.0 → winrt_windows_web_http_diagnostics-3.0.0}/winrt_Windows.Web.Http.Diagnostics.egg-info/dependency_links.txt +0 -0
- {winrt_windows_web_http_diagnostics-2.2.0 → winrt_windows_web_http_diagnostics-3.0.0}/winrt_Windows.Web.Http.Diagnostics.egg-info/top_level.txt +0 -0
{winrt_windows_web_http_diagnostics-2.2.0 → winrt_windows_web_http_diagnostics-3.0.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Web.Http.Diagnostics
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,14 +10,14 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.0.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==
|
|
19
|
-
Requires-Dist: winrt-Windows.System.Diagnostics[all]==
|
|
20
|
-
Requires-Dist: winrt-Windows.Web.Http[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.0.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==3.0.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.System.Diagnostics[all]==3.0.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Web.Http[all]==3.0.0; extra == "all"
|
|
21
21
|
|
|
22
22
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
23
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.Web.Http.Diagnostics.h"
|
|
4
4
|
|
|
@@ -23,7 +23,7 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
23
23
|
|
|
24
24
|
static PyObject* HttpDiagnosticProvider_CreateFromProcessDiagnosticInfo(PyObject* /*unused*/, PyObject* args) noexcept
|
|
25
25
|
{
|
|
26
|
-
auto arg_count =
|
|
26
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
27
27
|
|
|
28
28
|
if (arg_count == 1)
|
|
29
29
|
{
|
|
@@ -44,7 +44,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
44
44
|
|
|
45
45
|
auto param0 = py::convert_to<winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo>(args, 0);
|
|
46
46
|
|
|
47
|
-
return py::convert(
|
|
47
|
+
return py::convert([&]()
|
|
48
|
+
{
|
|
49
|
+
auto _gil = release_gil();
|
|
50
|
+
return winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider::CreateFromProcessDiagnosticInfo(param0);
|
|
51
|
+
}());
|
|
48
52
|
}
|
|
49
53
|
catch (...)
|
|
50
54
|
{
|
|
@@ -61,7 +65,7 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
61
65
|
|
|
62
66
|
static PyObject* HttpDiagnosticProvider_Start(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider* self, PyObject* args) noexcept
|
|
63
67
|
{
|
|
64
|
-
auto arg_count =
|
|
68
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
65
69
|
|
|
66
70
|
if (arg_count == 0)
|
|
67
71
|
{
|
|
@@ -80,7 +84,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
80
84
|
return nullptr;
|
|
81
85
|
}
|
|
82
86
|
|
|
83
|
-
|
|
87
|
+
{
|
|
88
|
+
auto _gil = release_gil();
|
|
89
|
+
self->obj.Start();
|
|
90
|
+
}
|
|
91
|
+
|
|
84
92
|
Py_RETURN_NONE;
|
|
85
93
|
}
|
|
86
94
|
catch (...)
|
|
@@ -98,7 +106,7 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
98
106
|
|
|
99
107
|
static PyObject* HttpDiagnosticProvider_Stop(py::wrapper::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider* self, PyObject* args) noexcept
|
|
100
108
|
{
|
|
101
|
-
auto arg_count =
|
|
109
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
102
110
|
|
|
103
111
|
if (arg_count == 0)
|
|
104
112
|
{
|
|
@@ -117,7 +125,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
117
125
|
return nullptr;
|
|
118
126
|
}
|
|
119
127
|
|
|
120
|
-
|
|
128
|
+
{
|
|
129
|
+
auto _gil = release_gil();
|
|
130
|
+
self->obj.Stop();
|
|
131
|
+
}
|
|
132
|
+
|
|
121
133
|
Py_RETURN_NONE;
|
|
122
134
|
}
|
|
123
135
|
catch (...)
|
|
@@ -152,7 +164,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
152
164
|
|
|
153
165
|
auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseCompletedEventArgs>>(arg);
|
|
154
166
|
|
|
155
|
-
return py::convert(
|
|
167
|
+
return py::convert([&]()
|
|
168
|
+
{
|
|
169
|
+
auto _gil = release_gil();
|
|
170
|
+
return self->obj.RequestResponseCompleted(param0);
|
|
171
|
+
}());
|
|
156
172
|
}
|
|
157
173
|
catch (...)
|
|
158
174
|
{
|
|
@@ -180,7 +196,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
180
196
|
|
|
181
197
|
auto param0 = py::convert_to<winrt::event_token>(arg);
|
|
182
198
|
|
|
183
|
-
|
|
199
|
+
{
|
|
200
|
+
auto _gil = release_gil();
|
|
201
|
+
self->obj.RequestResponseCompleted(param0);
|
|
202
|
+
}
|
|
203
|
+
|
|
184
204
|
Py_RETURN_NONE;
|
|
185
205
|
}
|
|
186
206
|
catch (...)
|
|
@@ -209,7 +229,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
209
229
|
|
|
210
230
|
auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestSentEventArgs>>(arg);
|
|
211
231
|
|
|
212
|
-
return py::convert(
|
|
232
|
+
return py::convert([&]()
|
|
233
|
+
{
|
|
234
|
+
auto _gil = release_gil();
|
|
235
|
+
return self->obj.RequestSent(param0);
|
|
236
|
+
}());
|
|
213
237
|
}
|
|
214
238
|
catch (...)
|
|
215
239
|
{
|
|
@@ -237,7 +261,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
237
261
|
|
|
238
262
|
auto param0 = py::convert_to<winrt::event_token>(arg);
|
|
239
263
|
|
|
240
|
-
|
|
264
|
+
{
|
|
265
|
+
auto _gil = release_gil();
|
|
266
|
+
self->obj.RequestSent(param0);
|
|
267
|
+
}
|
|
268
|
+
|
|
241
269
|
Py_RETURN_NONE;
|
|
242
270
|
}
|
|
243
271
|
catch (...)
|
|
@@ -266,7 +294,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
266
294
|
|
|
267
295
|
auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderResponseReceivedEventArgs>>(arg);
|
|
268
296
|
|
|
269
|
-
return py::convert(
|
|
297
|
+
return py::convert([&]()
|
|
298
|
+
{
|
|
299
|
+
auto _gil = release_gil();
|
|
300
|
+
return self->obj.ResponseReceived(param0);
|
|
301
|
+
}());
|
|
270
302
|
}
|
|
271
303
|
catch (...)
|
|
272
304
|
{
|
|
@@ -294,7 +326,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
294
326
|
|
|
295
327
|
auto param0 = py::convert_to<winrt::event_token>(arg);
|
|
296
328
|
|
|
297
|
-
|
|
329
|
+
{
|
|
330
|
+
auto _gil = release_gil();
|
|
331
|
+
self->obj.ResponseReceived(param0);
|
|
332
|
+
}
|
|
333
|
+
|
|
298
334
|
Py_RETURN_NONE;
|
|
299
335
|
}
|
|
300
336
|
catch (...)
|
|
@@ -339,20 +375,17 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
339
375
|
{ "remove_response_received", reinterpret_cast<PyCFunction>(HttpDiagnosticProvider_remove_ResponseReceived), METH_O, nullptr },
|
|
340
376
|
{ "_assign_array_", _assign_array_HttpDiagnosticProvider, METH_O | METH_STATIC, nullptr },
|
|
341
377
|
{ "_from", reinterpret_cast<PyCFunction>(_from_HttpDiagnosticProvider), METH_O | METH_STATIC, nullptr },
|
|
342
|
-
{ }
|
|
343
|
-
};
|
|
378
|
+
{ }};
|
|
344
379
|
|
|
345
380
|
static PyGetSetDef _getset_HttpDiagnosticProvider[] = {
|
|
346
|
-
{ }
|
|
347
|
-
};
|
|
381
|
+
{ }};
|
|
348
382
|
|
|
349
383
|
static PyType_Slot _type_slots_HttpDiagnosticProvider[] = {
|
|
350
384
|
{ Py_tp_new, reinterpret_cast<void*>(_new_HttpDiagnosticProvider) },
|
|
351
385
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_HttpDiagnosticProvider) },
|
|
352
386
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_HttpDiagnosticProvider) },
|
|
353
387
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_HttpDiagnosticProvider) },
|
|
354
|
-
{ }
|
|
355
|
-
};
|
|
388
|
+
{ }};
|
|
356
389
|
|
|
357
390
|
static PyType_Spec type_spec_HttpDiagnosticProvider = {
|
|
358
391
|
"winrt._winrt_windows_web_http_diagnostics.HttpDiagnosticProvider",
|
|
@@ -362,13 +395,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
362
395
|
_type_slots_HttpDiagnosticProvider};
|
|
363
396
|
|
|
364
397
|
static PyGetSetDef getset_HttpDiagnosticProvider_Static[] = {
|
|
365
|
-
{ }
|
|
366
|
-
};
|
|
398
|
+
{ }};
|
|
367
399
|
|
|
368
400
|
static PyMethodDef methods_HttpDiagnosticProvider_Static[] = {
|
|
369
401
|
{ "create_from_process_diagnostic_info", reinterpret_cast<PyCFunction>(HttpDiagnosticProvider_CreateFromProcessDiagnosticInfo), METH_VARARGS, nullptr },
|
|
370
|
-
{ }
|
|
371
|
-
};
|
|
402
|
+
{ }};
|
|
372
403
|
|
|
373
404
|
static PyType_Slot type_slots_HttpDiagnosticProvider_Static[] =
|
|
374
405
|
{
|
|
@@ -378,14 +409,12 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
378
409
|
{ }
|
|
379
410
|
};
|
|
380
411
|
|
|
381
|
-
static PyType_Spec type_spec_HttpDiagnosticProvider_Static =
|
|
382
|
-
{
|
|
412
|
+
static PyType_Spec type_spec_HttpDiagnosticProvider_Static = {
|
|
383
413
|
"winrt._winrt_windows_web_http_diagnostics.HttpDiagnosticProvider_Static",
|
|
384
414
|
static_cast<int>(PyType_Type.tp_basicsize),
|
|
385
415
|
static_cast<int>(PyType_Type.tp_itemsize),
|
|
386
416
|
Py_TPFLAGS_DEFAULT,
|
|
387
|
-
type_slots_HttpDiagnosticProvider_Static
|
|
388
|
-
};
|
|
417
|
+
type_slots_HttpDiagnosticProvider_Static};
|
|
389
418
|
|
|
390
419
|
// ----- HttpDiagnosticProviderRequestResponseCompletedEventArgs class --------------------
|
|
391
420
|
|
|
@@ -421,7 +450,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
421
450
|
return nullptr;
|
|
422
451
|
}
|
|
423
452
|
|
|
424
|
-
return py::convert(
|
|
453
|
+
return py::convert([&]()
|
|
454
|
+
{
|
|
455
|
+
auto _gil = release_gil();
|
|
456
|
+
return self->obj.ActivityId();
|
|
457
|
+
}());
|
|
425
458
|
}
|
|
426
459
|
catch (...)
|
|
427
460
|
{
|
|
@@ -447,7 +480,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
447
480
|
return nullptr;
|
|
448
481
|
}
|
|
449
482
|
|
|
450
|
-
return py::convert(
|
|
483
|
+
return py::convert([&]()
|
|
484
|
+
{
|
|
485
|
+
auto _gil = release_gil();
|
|
486
|
+
return self->obj.Initiator();
|
|
487
|
+
}());
|
|
451
488
|
}
|
|
452
489
|
catch (...)
|
|
453
490
|
{
|
|
@@ -473,7 +510,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
473
510
|
return nullptr;
|
|
474
511
|
}
|
|
475
512
|
|
|
476
|
-
return py::convert(
|
|
513
|
+
return py::convert([&]()
|
|
514
|
+
{
|
|
515
|
+
auto _gil = release_gil();
|
|
516
|
+
return self->obj.ProcessId();
|
|
517
|
+
}());
|
|
477
518
|
}
|
|
478
519
|
catch (...)
|
|
479
520
|
{
|
|
@@ -499,7 +540,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
499
540
|
return nullptr;
|
|
500
541
|
}
|
|
501
542
|
|
|
502
|
-
return py::convert(
|
|
543
|
+
return py::convert([&]()
|
|
544
|
+
{
|
|
545
|
+
auto _gil = release_gil();
|
|
546
|
+
return self->obj.RequestedUri();
|
|
547
|
+
}());
|
|
503
548
|
}
|
|
504
549
|
catch (...)
|
|
505
550
|
{
|
|
@@ -525,7 +570,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
525
570
|
return nullptr;
|
|
526
571
|
}
|
|
527
572
|
|
|
528
|
-
return py::convert(
|
|
573
|
+
return py::convert([&]()
|
|
574
|
+
{
|
|
575
|
+
auto _gil = release_gil();
|
|
576
|
+
return self->obj.SourceLocations();
|
|
577
|
+
}());
|
|
529
578
|
}
|
|
530
579
|
catch (...)
|
|
531
580
|
{
|
|
@@ -551,7 +600,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
551
600
|
return nullptr;
|
|
552
601
|
}
|
|
553
602
|
|
|
554
|
-
return py::convert(
|
|
603
|
+
return py::convert([&]()
|
|
604
|
+
{
|
|
605
|
+
auto _gil = release_gil();
|
|
606
|
+
return self->obj.ThreadId();
|
|
607
|
+
}());
|
|
555
608
|
}
|
|
556
609
|
catch (...)
|
|
557
610
|
{
|
|
@@ -577,7 +630,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
577
630
|
return nullptr;
|
|
578
631
|
}
|
|
579
632
|
|
|
580
|
-
return py::convert(
|
|
633
|
+
return py::convert([&]()
|
|
634
|
+
{
|
|
635
|
+
auto _gil = release_gil();
|
|
636
|
+
return self->obj.Timestamps();
|
|
637
|
+
}());
|
|
581
638
|
}
|
|
582
639
|
catch (...)
|
|
583
640
|
{
|
|
@@ -613,8 +670,7 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
613
670
|
static PyMethodDef _methods_HttpDiagnosticProviderRequestResponseCompletedEventArgs[] = {
|
|
614
671
|
{ "_assign_array_", _assign_array_HttpDiagnosticProviderRequestResponseCompletedEventArgs, METH_O | METH_STATIC, nullptr },
|
|
615
672
|
{ "_from", reinterpret_cast<PyCFunction>(_from_HttpDiagnosticProviderRequestResponseCompletedEventArgs), METH_O | METH_STATIC, nullptr },
|
|
616
|
-
{ }
|
|
617
|
-
};
|
|
673
|
+
{ }};
|
|
618
674
|
|
|
619
675
|
static PyGetSetDef _getset_HttpDiagnosticProviderRequestResponseCompletedEventArgs[] = {
|
|
620
676
|
{ "activity_id", reinterpret_cast<getter>(HttpDiagnosticProviderRequestResponseCompletedEventArgs_get_ActivityId), nullptr, nullptr, nullptr },
|
|
@@ -624,16 +680,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
624
680
|
{ "source_locations", reinterpret_cast<getter>(HttpDiagnosticProviderRequestResponseCompletedEventArgs_get_SourceLocations), nullptr, nullptr, nullptr },
|
|
625
681
|
{ "thread_id", reinterpret_cast<getter>(HttpDiagnosticProviderRequestResponseCompletedEventArgs_get_ThreadId), nullptr, nullptr, nullptr },
|
|
626
682
|
{ "timestamps", reinterpret_cast<getter>(HttpDiagnosticProviderRequestResponseCompletedEventArgs_get_Timestamps), nullptr, nullptr, nullptr },
|
|
627
|
-
{ }
|
|
628
|
-
};
|
|
683
|
+
{ }};
|
|
629
684
|
|
|
630
685
|
static PyType_Slot _type_slots_HttpDiagnosticProviderRequestResponseCompletedEventArgs[] = {
|
|
631
686
|
{ Py_tp_new, reinterpret_cast<void*>(_new_HttpDiagnosticProviderRequestResponseCompletedEventArgs) },
|
|
632
687
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_HttpDiagnosticProviderRequestResponseCompletedEventArgs) },
|
|
633
688
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_HttpDiagnosticProviderRequestResponseCompletedEventArgs) },
|
|
634
689
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_HttpDiagnosticProviderRequestResponseCompletedEventArgs) },
|
|
635
|
-
{ }
|
|
636
|
-
};
|
|
690
|
+
{ }};
|
|
637
691
|
|
|
638
692
|
static PyType_Spec type_spec_HttpDiagnosticProviderRequestResponseCompletedEventArgs = {
|
|
639
693
|
"winrt._winrt_windows_web_http_diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs",
|
|
@@ -676,7 +730,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
676
730
|
return nullptr;
|
|
677
731
|
}
|
|
678
732
|
|
|
679
|
-
return py::convert(
|
|
733
|
+
return py::convert([&]()
|
|
734
|
+
{
|
|
735
|
+
auto _gil = release_gil();
|
|
736
|
+
return self->obj.CacheCheckedTimestamp();
|
|
737
|
+
}());
|
|
680
738
|
}
|
|
681
739
|
catch (...)
|
|
682
740
|
{
|
|
@@ -702,7 +760,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
702
760
|
return nullptr;
|
|
703
761
|
}
|
|
704
762
|
|
|
705
|
-
return py::convert(
|
|
763
|
+
return py::convert([&]()
|
|
764
|
+
{
|
|
765
|
+
auto _gil = release_gil();
|
|
766
|
+
return self->obj.ConnectionCompletedTimestamp();
|
|
767
|
+
}());
|
|
706
768
|
}
|
|
707
769
|
catch (...)
|
|
708
770
|
{
|
|
@@ -728,7 +790,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
728
790
|
return nullptr;
|
|
729
791
|
}
|
|
730
792
|
|
|
731
|
-
return py::convert(
|
|
793
|
+
return py::convert([&]()
|
|
794
|
+
{
|
|
795
|
+
auto _gil = release_gil();
|
|
796
|
+
return self->obj.ConnectionInitiatedTimestamp();
|
|
797
|
+
}());
|
|
732
798
|
}
|
|
733
799
|
catch (...)
|
|
734
800
|
{
|
|
@@ -754,7 +820,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
754
820
|
return nullptr;
|
|
755
821
|
}
|
|
756
822
|
|
|
757
|
-
return py::convert(
|
|
823
|
+
return py::convert([&]()
|
|
824
|
+
{
|
|
825
|
+
auto _gil = release_gil();
|
|
826
|
+
return self->obj.NameResolvedTimestamp();
|
|
827
|
+
}());
|
|
758
828
|
}
|
|
759
829
|
catch (...)
|
|
760
830
|
{
|
|
@@ -780,7 +850,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
780
850
|
return nullptr;
|
|
781
851
|
}
|
|
782
852
|
|
|
783
|
-
return py::convert(
|
|
853
|
+
return py::convert([&]()
|
|
854
|
+
{
|
|
855
|
+
auto _gil = release_gil();
|
|
856
|
+
return self->obj.RequestCompletedTimestamp();
|
|
857
|
+
}());
|
|
784
858
|
}
|
|
785
859
|
catch (...)
|
|
786
860
|
{
|
|
@@ -806,7 +880,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
806
880
|
return nullptr;
|
|
807
881
|
}
|
|
808
882
|
|
|
809
|
-
return py::convert(
|
|
883
|
+
return py::convert([&]()
|
|
884
|
+
{
|
|
885
|
+
auto _gil = release_gil();
|
|
886
|
+
return self->obj.RequestSentTimestamp();
|
|
887
|
+
}());
|
|
810
888
|
}
|
|
811
889
|
catch (...)
|
|
812
890
|
{
|
|
@@ -832,7 +910,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
832
910
|
return nullptr;
|
|
833
911
|
}
|
|
834
912
|
|
|
835
|
-
return py::convert(
|
|
913
|
+
return py::convert([&]()
|
|
914
|
+
{
|
|
915
|
+
auto _gil = release_gil();
|
|
916
|
+
return self->obj.ResponseCompletedTimestamp();
|
|
917
|
+
}());
|
|
836
918
|
}
|
|
837
919
|
catch (...)
|
|
838
920
|
{
|
|
@@ -858,7 +940,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
858
940
|
return nullptr;
|
|
859
941
|
}
|
|
860
942
|
|
|
861
|
-
return py::convert(
|
|
943
|
+
return py::convert([&]()
|
|
944
|
+
{
|
|
945
|
+
auto _gil = release_gil();
|
|
946
|
+
return self->obj.ResponseReceivedTimestamp();
|
|
947
|
+
}());
|
|
862
948
|
}
|
|
863
949
|
catch (...)
|
|
864
950
|
{
|
|
@@ -884,7 +970,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
884
970
|
return nullptr;
|
|
885
971
|
}
|
|
886
972
|
|
|
887
|
-
return py::convert(
|
|
973
|
+
return py::convert([&]()
|
|
974
|
+
{
|
|
975
|
+
auto _gil = release_gil();
|
|
976
|
+
return self->obj.SslNegotiatedTimestamp();
|
|
977
|
+
}());
|
|
888
978
|
}
|
|
889
979
|
catch (...)
|
|
890
980
|
{
|
|
@@ -920,8 +1010,7 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
920
1010
|
static PyMethodDef _methods_HttpDiagnosticProviderRequestResponseTimestamps[] = {
|
|
921
1011
|
{ "_assign_array_", _assign_array_HttpDiagnosticProviderRequestResponseTimestamps, METH_O | METH_STATIC, nullptr },
|
|
922
1012
|
{ "_from", reinterpret_cast<PyCFunction>(_from_HttpDiagnosticProviderRequestResponseTimestamps), METH_O | METH_STATIC, nullptr },
|
|
923
|
-
{ }
|
|
924
|
-
};
|
|
1013
|
+
{ }};
|
|
925
1014
|
|
|
926
1015
|
static PyGetSetDef _getset_HttpDiagnosticProviderRequestResponseTimestamps[] = {
|
|
927
1016
|
{ "cache_checked_timestamp", reinterpret_cast<getter>(HttpDiagnosticProviderRequestResponseTimestamps_get_CacheCheckedTimestamp), nullptr, nullptr, nullptr },
|
|
@@ -933,16 +1022,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
933
1022
|
{ "response_completed_timestamp", reinterpret_cast<getter>(HttpDiagnosticProviderRequestResponseTimestamps_get_ResponseCompletedTimestamp), nullptr, nullptr, nullptr },
|
|
934
1023
|
{ "response_received_timestamp", reinterpret_cast<getter>(HttpDiagnosticProviderRequestResponseTimestamps_get_ResponseReceivedTimestamp), nullptr, nullptr, nullptr },
|
|
935
1024
|
{ "ssl_negotiated_timestamp", reinterpret_cast<getter>(HttpDiagnosticProviderRequestResponseTimestamps_get_SslNegotiatedTimestamp), nullptr, nullptr, nullptr },
|
|
936
|
-
{ }
|
|
937
|
-
};
|
|
1025
|
+
{ }};
|
|
938
1026
|
|
|
939
1027
|
static PyType_Slot _type_slots_HttpDiagnosticProviderRequestResponseTimestamps[] = {
|
|
940
1028
|
{ Py_tp_new, reinterpret_cast<void*>(_new_HttpDiagnosticProviderRequestResponseTimestamps) },
|
|
941
1029
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_HttpDiagnosticProviderRequestResponseTimestamps) },
|
|
942
1030
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_HttpDiagnosticProviderRequestResponseTimestamps) },
|
|
943
1031
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_HttpDiagnosticProviderRequestResponseTimestamps) },
|
|
944
|
-
{ }
|
|
945
|
-
};
|
|
1032
|
+
{ }};
|
|
946
1033
|
|
|
947
1034
|
static PyType_Spec type_spec_HttpDiagnosticProviderRequestResponseTimestamps = {
|
|
948
1035
|
"winrt._winrt_windows_web_http_diagnostics.HttpDiagnosticProviderRequestResponseTimestamps",
|
|
@@ -985,7 +1072,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
985
1072
|
return nullptr;
|
|
986
1073
|
}
|
|
987
1074
|
|
|
988
|
-
return py::convert(
|
|
1075
|
+
return py::convert([&]()
|
|
1076
|
+
{
|
|
1077
|
+
auto _gil = release_gil();
|
|
1078
|
+
return self->obj.ActivityId();
|
|
1079
|
+
}());
|
|
989
1080
|
}
|
|
990
1081
|
catch (...)
|
|
991
1082
|
{
|
|
@@ -1011,7 +1102,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
1011
1102
|
return nullptr;
|
|
1012
1103
|
}
|
|
1013
1104
|
|
|
1014
|
-
return py::convert(
|
|
1105
|
+
return py::convert([&]()
|
|
1106
|
+
{
|
|
1107
|
+
auto _gil = release_gil();
|
|
1108
|
+
return self->obj.Initiator();
|
|
1109
|
+
}());
|
|
1015
1110
|
}
|
|
1016
1111
|
catch (...)
|
|
1017
1112
|
{
|
|
@@ -1037,7 +1132,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
1037
1132
|
return nullptr;
|
|
1038
1133
|
}
|
|
1039
1134
|
|
|
1040
|
-
return py::convert(
|
|
1135
|
+
return py::convert([&]()
|
|
1136
|
+
{
|
|
1137
|
+
auto _gil = release_gil();
|
|
1138
|
+
return self->obj.Message();
|
|
1139
|
+
}());
|
|
1041
1140
|
}
|
|
1042
1141
|
catch (...)
|
|
1043
1142
|
{
|
|
@@ -1063,7 +1162,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
1063
1162
|
return nullptr;
|
|
1064
1163
|
}
|
|
1065
1164
|
|
|
1066
|
-
return py::convert(
|
|
1165
|
+
return py::convert([&]()
|
|
1166
|
+
{
|
|
1167
|
+
auto _gil = release_gil();
|
|
1168
|
+
return self->obj.ProcessId();
|
|
1169
|
+
}());
|
|
1067
1170
|
}
|
|
1068
1171
|
catch (...)
|
|
1069
1172
|
{
|
|
@@ -1089,7 +1192,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
1089
1192
|
return nullptr;
|
|
1090
1193
|
}
|
|
1091
1194
|
|
|
1092
|
-
return py::convert(
|
|
1195
|
+
return py::convert([&]()
|
|
1196
|
+
{
|
|
1197
|
+
auto _gil = release_gil();
|
|
1198
|
+
return self->obj.SourceLocations();
|
|
1199
|
+
}());
|
|
1093
1200
|
}
|
|
1094
1201
|
catch (...)
|
|
1095
1202
|
{
|
|
@@ -1115,7 +1222,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
1115
1222
|
return nullptr;
|
|
1116
1223
|
}
|
|
1117
1224
|
|
|
1118
|
-
return py::convert(
|
|
1225
|
+
return py::convert([&]()
|
|
1226
|
+
{
|
|
1227
|
+
auto _gil = release_gil();
|
|
1228
|
+
return self->obj.ThreadId();
|
|
1229
|
+
}());
|
|
1119
1230
|
}
|
|
1120
1231
|
catch (...)
|
|
1121
1232
|
{
|
|
@@ -1141,7 +1252,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
1141
1252
|
return nullptr;
|
|
1142
1253
|
}
|
|
1143
1254
|
|
|
1144
|
-
return py::convert(
|
|
1255
|
+
return py::convert([&]()
|
|
1256
|
+
{
|
|
1257
|
+
auto _gil = release_gil();
|
|
1258
|
+
return self->obj.Timestamp();
|
|
1259
|
+
}());
|
|
1145
1260
|
}
|
|
1146
1261
|
catch (...)
|
|
1147
1262
|
{
|
|
@@ -1177,8 +1292,7 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
1177
1292
|
static PyMethodDef _methods_HttpDiagnosticProviderRequestSentEventArgs[] = {
|
|
1178
1293
|
{ "_assign_array_", _assign_array_HttpDiagnosticProviderRequestSentEventArgs, METH_O | METH_STATIC, nullptr },
|
|
1179
1294
|
{ "_from", reinterpret_cast<PyCFunction>(_from_HttpDiagnosticProviderRequestSentEventArgs), METH_O | METH_STATIC, nullptr },
|
|
1180
|
-
{ }
|
|
1181
|
-
};
|
|
1295
|
+
{ }};
|
|
1182
1296
|
|
|
1183
1297
|
static PyGetSetDef _getset_HttpDiagnosticProviderRequestSentEventArgs[] = {
|
|
1184
1298
|
{ "activity_id", reinterpret_cast<getter>(HttpDiagnosticProviderRequestSentEventArgs_get_ActivityId), nullptr, nullptr, nullptr },
|
|
@@ -1188,16 +1302,14 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
1188
1302
|
{ "source_locations", reinterpret_cast<getter>(HttpDiagnosticProviderRequestSentEventArgs_get_SourceLocations), nullptr, nullptr, nullptr },
|
|
1189
1303
|
{ "thread_id", reinterpret_cast<getter>(HttpDiagnosticProviderRequestSentEventArgs_get_ThreadId), nullptr, nullptr, nullptr },
|
|
1190
1304
|
{ "timestamp", reinterpret_cast<getter>(HttpDiagnosticProviderRequestSentEventArgs_get_Timestamp), nullptr, nullptr, nullptr },
|
|
1191
|
-
{ }
|
|
1192
|
-
};
|
|
1305
|
+
{ }};
|
|
1193
1306
|
|
|
1194
1307
|
static PyType_Slot _type_slots_HttpDiagnosticProviderRequestSentEventArgs[] = {
|
|
1195
1308
|
{ Py_tp_new, reinterpret_cast<void*>(_new_HttpDiagnosticProviderRequestSentEventArgs) },
|
|
1196
1309
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_HttpDiagnosticProviderRequestSentEventArgs) },
|
|
1197
1310
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_HttpDiagnosticProviderRequestSentEventArgs) },
|
|
1198
1311
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_HttpDiagnosticProviderRequestSentEventArgs) },
|
|
1199
|
-
{ }
|
|
1200
|
-
};
|
|
1312
|
+
{ }};
|
|
1201
1313
|
|
|
1202
1314
|
static PyType_Spec type_spec_HttpDiagnosticProviderRequestSentEventArgs = {
|
|
1203
1315
|
"winrt._winrt_windows_web_http_diagnostics.HttpDiagnosticProviderRequestSentEventArgs",
|
|
@@ -1240,7 +1352,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
1240
1352
|
return nullptr;
|
|
1241
1353
|
}
|
|
1242
1354
|
|
|
1243
|
-
return py::convert(
|
|
1355
|
+
return py::convert([&]()
|
|
1356
|
+
{
|
|
1357
|
+
auto _gil = release_gil();
|
|
1358
|
+
return self->obj.ActivityId();
|
|
1359
|
+
}());
|
|
1244
1360
|
}
|
|
1245
1361
|
catch (...)
|
|
1246
1362
|
{
|
|
@@ -1266,7 +1382,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
1266
1382
|
return nullptr;
|
|
1267
1383
|
}
|
|
1268
1384
|
|
|
1269
|
-
return py::convert(
|
|
1385
|
+
return py::convert([&]()
|
|
1386
|
+
{
|
|
1387
|
+
auto _gil = release_gil();
|
|
1388
|
+
return self->obj.Message();
|
|
1389
|
+
}());
|
|
1270
1390
|
}
|
|
1271
1391
|
catch (...)
|
|
1272
1392
|
{
|
|
@@ -1292,7 +1412,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
1292
1412
|
return nullptr;
|
|
1293
1413
|
}
|
|
1294
1414
|
|
|
1295
|
-
return py::convert(
|
|
1415
|
+
return py::convert([&]()
|
|
1416
|
+
{
|
|
1417
|
+
auto _gil = release_gil();
|
|
1418
|
+
return self->obj.Timestamp();
|
|
1419
|
+
}());
|
|
1296
1420
|
}
|
|
1297
1421
|
catch (...)
|
|
1298
1422
|
{
|
|
@@ -1328,23 +1452,20 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
1328
1452
|
static PyMethodDef _methods_HttpDiagnosticProviderResponseReceivedEventArgs[] = {
|
|
1329
1453
|
{ "_assign_array_", _assign_array_HttpDiagnosticProviderResponseReceivedEventArgs, METH_O | METH_STATIC, nullptr },
|
|
1330
1454
|
{ "_from", reinterpret_cast<PyCFunction>(_from_HttpDiagnosticProviderResponseReceivedEventArgs), METH_O | METH_STATIC, nullptr },
|
|
1331
|
-
{ }
|
|
1332
|
-
};
|
|
1455
|
+
{ }};
|
|
1333
1456
|
|
|
1334
1457
|
static PyGetSetDef _getset_HttpDiagnosticProviderResponseReceivedEventArgs[] = {
|
|
1335
1458
|
{ "activity_id", reinterpret_cast<getter>(HttpDiagnosticProviderResponseReceivedEventArgs_get_ActivityId), nullptr, nullptr, nullptr },
|
|
1336
1459
|
{ "message", reinterpret_cast<getter>(HttpDiagnosticProviderResponseReceivedEventArgs_get_Message), nullptr, nullptr, nullptr },
|
|
1337
1460
|
{ "timestamp", reinterpret_cast<getter>(HttpDiagnosticProviderResponseReceivedEventArgs_get_Timestamp), nullptr, nullptr, nullptr },
|
|
1338
|
-
{ }
|
|
1339
|
-
};
|
|
1461
|
+
{ }};
|
|
1340
1462
|
|
|
1341
1463
|
static PyType_Slot _type_slots_HttpDiagnosticProviderResponseReceivedEventArgs[] = {
|
|
1342
1464
|
{ Py_tp_new, reinterpret_cast<void*>(_new_HttpDiagnosticProviderResponseReceivedEventArgs) },
|
|
1343
1465
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_HttpDiagnosticProviderResponseReceivedEventArgs) },
|
|
1344
1466
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_HttpDiagnosticProviderResponseReceivedEventArgs) },
|
|
1345
1467
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_HttpDiagnosticProviderResponseReceivedEventArgs) },
|
|
1346
|
-
{ }
|
|
1347
|
-
};
|
|
1468
|
+
{ }};
|
|
1348
1469
|
|
|
1349
1470
|
static PyType_Spec type_spec_HttpDiagnosticProviderResponseReceivedEventArgs = {
|
|
1350
1471
|
"winrt._winrt_windows_web_http_diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs",
|
|
@@ -1387,7 +1508,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
1387
1508
|
return nullptr;
|
|
1388
1509
|
}
|
|
1389
1510
|
|
|
1390
|
-
return py::convert(
|
|
1511
|
+
return py::convert([&]()
|
|
1512
|
+
{
|
|
1513
|
+
auto _gil = release_gil();
|
|
1514
|
+
return self->obj.ColumnNumber();
|
|
1515
|
+
}());
|
|
1391
1516
|
}
|
|
1392
1517
|
catch (...)
|
|
1393
1518
|
{
|
|
@@ -1413,7 +1538,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
1413
1538
|
return nullptr;
|
|
1414
1539
|
}
|
|
1415
1540
|
|
|
1416
|
-
return py::convert(
|
|
1541
|
+
return py::convert([&]()
|
|
1542
|
+
{
|
|
1543
|
+
auto _gil = release_gil();
|
|
1544
|
+
return self->obj.LineNumber();
|
|
1545
|
+
}());
|
|
1417
1546
|
}
|
|
1418
1547
|
catch (...)
|
|
1419
1548
|
{
|
|
@@ -1439,7 +1568,11 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
1439
1568
|
return nullptr;
|
|
1440
1569
|
}
|
|
1441
1570
|
|
|
1442
|
-
return py::convert(
|
|
1571
|
+
return py::convert([&]()
|
|
1572
|
+
{
|
|
1573
|
+
auto _gil = release_gil();
|
|
1574
|
+
return self->obj.SourceUri();
|
|
1575
|
+
}());
|
|
1443
1576
|
}
|
|
1444
1577
|
catch (...)
|
|
1445
1578
|
{
|
|
@@ -1475,23 +1608,20 @@ namespace py::cpp::Windows::Web::Http::Diagnostics
|
|
|
1475
1608
|
static PyMethodDef _methods_HttpDiagnosticSourceLocation[] = {
|
|
1476
1609
|
{ "_assign_array_", _assign_array_HttpDiagnosticSourceLocation, METH_O | METH_STATIC, nullptr },
|
|
1477
1610
|
{ "_from", reinterpret_cast<PyCFunction>(_from_HttpDiagnosticSourceLocation), METH_O | METH_STATIC, nullptr },
|
|
1478
|
-
{ }
|
|
1479
|
-
};
|
|
1611
|
+
{ }};
|
|
1480
1612
|
|
|
1481
1613
|
static PyGetSetDef _getset_HttpDiagnosticSourceLocation[] = {
|
|
1482
1614
|
{ "column_number", reinterpret_cast<getter>(HttpDiagnosticSourceLocation_get_ColumnNumber), nullptr, nullptr, nullptr },
|
|
1483
1615
|
{ "line_number", reinterpret_cast<getter>(HttpDiagnosticSourceLocation_get_LineNumber), nullptr, nullptr, nullptr },
|
|
1484
1616
|
{ "source_uri", reinterpret_cast<getter>(HttpDiagnosticSourceLocation_get_SourceUri), nullptr, nullptr, nullptr },
|
|
1485
|
-
{ }
|
|
1486
|
-
};
|
|
1617
|
+
{ }};
|
|
1487
1618
|
|
|
1488
1619
|
static PyType_Slot _type_slots_HttpDiagnosticSourceLocation[] = {
|
|
1489
1620
|
{ Py_tp_new, reinterpret_cast<void*>(_new_HttpDiagnosticSourceLocation) },
|
|
1490
1621
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_HttpDiagnosticSourceLocation) },
|
|
1491
1622
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_HttpDiagnosticSourceLocation) },
|
|
1492
1623
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_HttpDiagnosticSourceLocation) },
|
|
1493
|
-
{ }
|
|
1494
|
-
};
|
|
1624
|
+
{ }};
|
|
1495
1625
|
|
|
1496
1626
|
static PyType_Spec type_spec_HttpDiagnosticSourceLocation = {
|
|
1497
1627
|
"winrt._winrt_windows_web_http_diagnostics.HttpDiagnosticSourceLocation",
|
|
@@ -1532,6 +1662,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_web_http_diagnostics(void) noexcept
|
|
|
1532
1662
|
return nullptr;
|
|
1533
1663
|
}
|
|
1534
1664
|
|
|
1665
|
+
auto inspectable_meta_type = py::get_inspectable_meta_type();
|
|
1666
|
+
if (!inspectable_meta_type)
|
|
1667
|
+
{
|
|
1668
|
+
return nullptr;
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1535
1671
|
auto object_type = py::get_object_type();
|
|
1536
1672
|
if (!object_type)
|
|
1537
1673
|
{
|
|
@@ -1545,7 +1681,13 @@ PyMODINIT_FUNC PyInit__winrt_windows_web_http_diagnostics(void) noexcept
|
|
|
1545
1681
|
return nullptr;
|
|
1546
1682
|
}
|
|
1547
1683
|
|
|
1548
|
-
py::pyobj_handle
|
|
1684
|
+
py::pyobj_handle HttpDiagnosticProvider_Static_bases{PyTuple_Pack(1, reinterpret_cast<PyObject*>(inspectable_meta_type))};
|
|
1685
|
+
if (!HttpDiagnosticProvider_Static_bases)
|
|
1686
|
+
{
|
|
1687
|
+
return nullptr;
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
py::pyobj_handle type_HttpDiagnosticProvider_Static{PyType_FromSpecWithBases(&type_spec_HttpDiagnosticProvider_Static, HttpDiagnosticProvider_Static_bases.get())};
|
|
1549
1691
|
if (!type_HttpDiagnosticProvider_Static)
|
|
1550
1692
|
{
|
|
1551
1693
|
return nullptr;
|
|
@@ -1557,31 +1699,31 @@ PyMODINIT_FUNC PyInit__winrt_windows_web_http_diagnostics(void) noexcept
|
|
|
1557
1699
|
return nullptr;
|
|
1558
1700
|
}
|
|
1559
1701
|
|
|
1560
|
-
py::pytype_handle HttpDiagnosticProviderRequestResponseCompletedEventArgs_type{py::register_python_type(module.get(), &type_spec_HttpDiagnosticProviderRequestResponseCompletedEventArgs, object_bases.get(),
|
|
1702
|
+
py::pytype_handle HttpDiagnosticProviderRequestResponseCompletedEventArgs_type{py::register_python_type(module.get(), &type_spec_HttpDiagnosticProviderRequestResponseCompletedEventArgs, object_bases.get(), inspectable_meta_type)};
|
|
1561
1703
|
if (!HttpDiagnosticProviderRequestResponseCompletedEventArgs_type)
|
|
1562
1704
|
{
|
|
1563
1705
|
return nullptr;
|
|
1564
1706
|
}
|
|
1565
1707
|
|
|
1566
|
-
py::pytype_handle HttpDiagnosticProviderRequestResponseTimestamps_type{py::register_python_type(module.get(), &type_spec_HttpDiagnosticProviderRequestResponseTimestamps, object_bases.get(),
|
|
1708
|
+
py::pytype_handle HttpDiagnosticProviderRequestResponseTimestamps_type{py::register_python_type(module.get(), &type_spec_HttpDiagnosticProviderRequestResponseTimestamps, object_bases.get(), inspectable_meta_type)};
|
|
1567
1709
|
if (!HttpDiagnosticProviderRequestResponseTimestamps_type)
|
|
1568
1710
|
{
|
|
1569
1711
|
return nullptr;
|
|
1570
1712
|
}
|
|
1571
1713
|
|
|
1572
|
-
py::pytype_handle HttpDiagnosticProviderRequestSentEventArgs_type{py::register_python_type(module.get(), &type_spec_HttpDiagnosticProviderRequestSentEventArgs, object_bases.get(),
|
|
1714
|
+
py::pytype_handle HttpDiagnosticProviderRequestSentEventArgs_type{py::register_python_type(module.get(), &type_spec_HttpDiagnosticProviderRequestSentEventArgs, object_bases.get(), inspectable_meta_type)};
|
|
1573
1715
|
if (!HttpDiagnosticProviderRequestSentEventArgs_type)
|
|
1574
1716
|
{
|
|
1575
1717
|
return nullptr;
|
|
1576
1718
|
}
|
|
1577
1719
|
|
|
1578
|
-
py::pytype_handle HttpDiagnosticProviderResponseReceivedEventArgs_type{py::register_python_type(module.get(), &type_spec_HttpDiagnosticProviderResponseReceivedEventArgs, object_bases.get(),
|
|
1720
|
+
py::pytype_handle HttpDiagnosticProviderResponseReceivedEventArgs_type{py::register_python_type(module.get(), &type_spec_HttpDiagnosticProviderResponseReceivedEventArgs, object_bases.get(), inspectable_meta_type)};
|
|
1579
1721
|
if (!HttpDiagnosticProviderResponseReceivedEventArgs_type)
|
|
1580
1722
|
{
|
|
1581
1723
|
return nullptr;
|
|
1582
1724
|
}
|
|
1583
1725
|
|
|
1584
|
-
py::pytype_handle HttpDiagnosticSourceLocation_type{py::register_python_type(module.get(), &type_spec_HttpDiagnosticSourceLocation, object_bases.get(),
|
|
1726
|
+
py::pytype_handle HttpDiagnosticSourceLocation_type{py::register_python_type(module.get(), &type_spec_HttpDiagnosticSourceLocation, object_bases.get(), inspectable_meta_type)};
|
|
1585
1727
|
if (!HttpDiagnosticSourceLocation_type)
|
|
1586
1728
|
{
|
|
1587
1729
|
return nullptr;
|
{winrt_windows_web_http_diagnostics-2.2.0 → winrt_windows_web_http_diagnostics-3.0.0}/pyproject.toml
RENAMED
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9
|
|
19
|
+
requires-python = ">=3.9"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -34,7 +34,7 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
34
34
|
|
|
35
35
|
[tool.cibuildwheel]
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
|
-
environment = { PYTHONPATH="
|
|
37
|
+
environment = { PYTHONPATH="../../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
39
|
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
40
|
before-build = "uv pip install setuptools"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.0.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==
|
|
3
|
+
winrt-runtime==3.0.0
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
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
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
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
|
+
|
|
17
|
+
from winrt.windows.web.http.diagnostics import HttpDiagnosticRequestInitiator
|
|
18
|
+
|
|
19
|
+
Self = typing.TypeVar('Self')
|
|
20
|
+
|
|
21
|
+
@typing.final
|
|
22
|
+
class HttpDiagnosticProvider_Static(winrt._winrt.IInspectable_Static):
|
|
23
|
+
# Windows.Web.Http.Diagnostics.HttpDiagnosticProvider Windows.Web.Http.Diagnostics.HttpDiagnosticProvider::CreateFromProcessDiagnosticInfo(Windows.System.Diagnostics.ProcessDiagnosticInfo)
|
|
24
|
+
def create_from_process_diagnostic_info(cls, process_diagnostic_info: windows_system_diagnostics.ProcessDiagnosticInfo, /) -> HttpDiagnosticProvider: ...
|
|
25
|
+
|
|
26
|
+
@typing.final
|
|
27
|
+
class HttpDiagnosticProvider(winrt.system.Object, metaclass=HttpDiagnosticProvider_Static):
|
|
28
|
+
# System.Void Windows.Web.Http.Diagnostics.HttpDiagnosticProvider::Start()
|
|
29
|
+
def start(self) -> None: ...
|
|
30
|
+
# System.Void Windows.Web.Http.Diagnostics.HttpDiagnosticProvider::Stop()
|
|
31
|
+
def stop(self) -> None: ...
|
|
32
|
+
# Windows.Foundation.EventRegistrationToken Windows.Web.Http.Diagnostics.HttpDiagnosticProvider::add_RequestResponseCompleted(Windows.Foundation.TypedEventHandler`2<Windows.Web.Http.Diagnostics.HttpDiagnosticProvider,Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs>)
|
|
33
|
+
def add_request_response_completed(self, handler: windows_foundation.TypedEventHandler[HttpDiagnosticProvider, HttpDiagnosticProviderRequestResponseCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
34
|
+
# System.Void Windows.Web.Http.Diagnostics.HttpDiagnosticProvider::remove_RequestResponseCompleted(Windows.Foundation.EventRegistrationToken)
|
|
35
|
+
def remove_request_response_completed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
36
|
+
# Windows.Foundation.EventRegistrationToken Windows.Web.Http.Diagnostics.HttpDiagnosticProvider::add_RequestSent(Windows.Foundation.TypedEventHandler`2<Windows.Web.Http.Diagnostics.HttpDiagnosticProvider,Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs>)
|
|
37
|
+
def add_request_sent(self, handler: windows_foundation.TypedEventHandler[HttpDiagnosticProvider, HttpDiagnosticProviderRequestSentEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
38
|
+
# System.Void Windows.Web.Http.Diagnostics.HttpDiagnosticProvider::remove_RequestSent(Windows.Foundation.EventRegistrationToken)
|
|
39
|
+
def remove_request_sent(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
40
|
+
# Windows.Foundation.EventRegistrationToken Windows.Web.Http.Diagnostics.HttpDiagnosticProvider::add_ResponseReceived(Windows.Foundation.TypedEventHandler`2<Windows.Web.Http.Diagnostics.HttpDiagnosticProvider,Windows.Web.Http.Diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs>)
|
|
41
|
+
def add_response_received(self, handler: windows_foundation.TypedEventHandler[HttpDiagnosticProvider, HttpDiagnosticProviderResponseReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
42
|
+
# System.Void Windows.Web.Http.Diagnostics.HttpDiagnosticProvider::remove_ResponseReceived(Windows.Foundation.EventRegistrationToken)
|
|
43
|
+
def remove_response_received(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
44
|
+
|
|
45
|
+
@typing.final
|
|
46
|
+
class HttpDiagnosticProviderRequestResponseCompletedEventArgs(winrt.system.Object):
|
|
47
|
+
# System.Guid Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs::get_ActivityId()
|
|
48
|
+
@_property
|
|
49
|
+
def activity_id(self) -> _uuid.UUID: ...
|
|
50
|
+
# Windows.Web.Http.Diagnostics.HttpDiagnosticRequestInitiator Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs::get_Initiator()
|
|
51
|
+
@_property
|
|
52
|
+
def initiator(self) -> HttpDiagnosticRequestInitiator: ...
|
|
53
|
+
# System.UInt32 Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs::get_ProcessId()
|
|
54
|
+
@_property
|
|
55
|
+
def process_id(self) -> winrt.system.UInt32: ...
|
|
56
|
+
# Windows.Foundation.Uri Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs::get_RequestedUri()
|
|
57
|
+
@_property
|
|
58
|
+
def requested_uri(self) -> windows_foundation.Uri: ...
|
|
59
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs::get_SourceLocations()
|
|
60
|
+
@_property
|
|
61
|
+
def source_locations(self) -> typing.Sequence[HttpDiagnosticSourceLocation]: ...
|
|
62
|
+
# System.UInt32 Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs::get_ThreadId()
|
|
63
|
+
@_property
|
|
64
|
+
def thread_id(self) -> winrt.system.UInt32: ...
|
|
65
|
+
# Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs::get_Timestamps()
|
|
66
|
+
@_property
|
|
67
|
+
def timestamps(self) -> HttpDiagnosticProviderRequestResponseTimestamps: ...
|
|
68
|
+
|
|
69
|
+
@typing.final
|
|
70
|
+
class HttpDiagnosticProviderRequestResponseTimestamps(winrt.system.Object):
|
|
71
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps::get_CacheCheckedTimestamp()
|
|
72
|
+
@_property
|
|
73
|
+
def cache_checked_timestamp(self) -> typing.Optional[datetime.datetime]: ...
|
|
74
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps::get_ConnectionCompletedTimestamp()
|
|
75
|
+
@_property
|
|
76
|
+
def connection_completed_timestamp(self) -> typing.Optional[datetime.datetime]: ...
|
|
77
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps::get_ConnectionInitiatedTimestamp()
|
|
78
|
+
@_property
|
|
79
|
+
def connection_initiated_timestamp(self) -> typing.Optional[datetime.datetime]: ...
|
|
80
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps::get_NameResolvedTimestamp()
|
|
81
|
+
@_property
|
|
82
|
+
def name_resolved_timestamp(self) -> typing.Optional[datetime.datetime]: ...
|
|
83
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps::get_RequestCompletedTimestamp()
|
|
84
|
+
@_property
|
|
85
|
+
def request_completed_timestamp(self) -> typing.Optional[datetime.datetime]: ...
|
|
86
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps::get_RequestSentTimestamp()
|
|
87
|
+
@_property
|
|
88
|
+
def request_sent_timestamp(self) -> typing.Optional[datetime.datetime]: ...
|
|
89
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps::get_ResponseCompletedTimestamp()
|
|
90
|
+
@_property
|
|
91
|
+
def response_completed_timestamp(self) -> typing.Optional[datetime.datetime]: ...
|
|
92
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps::get_ResponseReceivedTimestamp()
|
|
93
|
+
@_property
|
|
94
|
+
def response_received_timestamp(self) -> typing.Optional[datetime.datetime]: ...
|
|
95
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps::get_SslNegotiatedTimestamp()
|
|
96
|
+
@_property
|
|
97
|
+
def ssl_negotiated_timestamp(self) -> typing.Optional[datetime.datetime]: ...
|
|
98
|
+
|
|
99
|
+
@typing.final
|
|
100
|
+
class HttpDiagnosticProviderRequestSentEventArgs(winrt.system.Object):
|
|
101
|
+
# System.Guid Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs::get_ActivityId()
|
|
102
|
+
@_property
|
|
103
|
+
def activity_id(self) -> _uuid.UUID: ...
|
|
104
|
+
# Windows.Web.Http.Diagnostics.HttpDiagnosticRequestInitiator Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs::get_Initiator()
|
|
105
|
+
@_property
|
|
106
|
+
def initiator(self) -> HttpDiagnosticRequestInitiator: ...
|
|
107
|
+
# Windows.Web.Http.HttpRequestMessage Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs::get_Message()
|
|
108
|
+
@_property
|
|
109
|
+
def message(self) -> windows_web_http.HttpRequestMessage: ...
|
|
110
|
+
# System.UInt32 Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs::get_ProcessId()
|
|
111
|
+
@_property
|
|
112
|
+
def process_id(self) -> winrt.system.UInt32: ...
|
|
113
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation> Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs::get_SourceLocations()
|
|
114
|
+
@_property
|
|
115
|
+
def source_locations(self) -> typing.Sequence[HttpDiagnosticSourceLocation]: ...
|
|
116
|
+
# System.UInt32 Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs::get_ThreadId()
|
|
117
|
+
@_property
|
|
118
|
+
def thread_id(self) -> winrt.system.UInt32: ...
|
|
119
|
+
# Windows.Foundation.DateTime Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs::get_Timestamp()
|
|
120
|
+
@_property
|
|
121
|
+
def timestamp(self) -> datetime.datetime: ...
|
|
122
|
+
|
|
123
|
+
@typing.final
|
|
124
|
+
class HttpDiagnosticProviderResponseReceivedEventArgs(winrt.system.Object):
|
|
125
|
+
# System.Guid Windows.Web.Http.Diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs::get_ActivityId()
|
|
126
|
+
@_property
|
|
127
|
+
def activity_id(self) -> _uuid.UUID: ...
|
|
128
|
+
# Windows.Web.Http.HttpResponseMessage Windows.Web.Http.Diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs::get_Message()
|
|
129
|
+
@_property
|
|
130
|
+
def message(self) -> windows_web_http.HttpResponseMessage: ...
|
|
131
|
+
# Windows.Foundation.DateTime Windows.Web.Http.Diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs::get_Timestamp()
|
|
132
|
+
@_property
|
|
133
|
+
def timestamp(self) -> datetime.datetime: ...
|
|
134
|
+
|
|
135
|
+
@typing.final
|
|
136
|
+
class HttpDiagnosticSourceLocation(winrt.system.Object):
|
|
137
|
+
# System.UInt64 Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation::get_ColumnNumber()
|
|
138
|
+
@_property
|
|
139
|
+
def column_number(self) -> winrt.system.UInt64: ...
|
|
140
|
+
# System.UInt64 Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation::get_LineNumber()
|
|
141
|
+
@_property
|
|
142
|
+
def line_number(self) -> winrt.system.UInt64: ...
|
|
143
|
+
# Windows.Foundation.Uri Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation::get_SourceUri()
|
|
144
|
+
@_property
|
|
145
|
+
def source_uri(self) -> windows_foundation.Uri: ...
|
|
146
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt._winrt_windows_web_http_diagnostics import (
|
|
7
|
+
HttpDiagnosticProvider,
|
|
8
|
+
HttpDiagnosticProviderRequestResponseCompletedEventArgs,
|
|
9
|
+
HttpDiagnosticProviderRequestResponseTimestamps,
|
|
10
|
+
HttpDiagnosticProviderRequestSentEventArgs,
|
|
11
|
+
HttpDiagnosticProviderResponseReceivedEventArgs,
|
|
12
|
+
HttpDiagnosticSourceLocation,
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
__all__ = [
|
|
16
|
+
"HttpDiagnosticRequestInitiator",
|
|
17
|
+
"HttpDiagnosticProvider",
|
|
18
|
+
"HttpDiagnosticProviderRequestResponseCompletedEventArgs",
|
|
19
|
+
"HttpDiagnosticProviderRequestResponseTimestamps",
|
|
20
|
+
"HttpDiagnosticProviderRequestSentEventArgs",
|
|
21
|
+
"HttpDiagnosticProviderResponseReceivedEventArgs",
|
|
22
|
+
"HttpDiagnosticSourceLocation",
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
class HttpDiagnosticRequestInitiator(enum.IntEnum):
|
|
26
|
+
PARSED_ELEMENT = 0
|
|
27
|
+
SCRIPT = 1
|
|
28
|
+
IMAGE = 2
|
|
29
|
+
LINK = 3
|
|
30
|
+
STYLE = 4
|
|
31
|
+
XML_HTTP_REQUEST = 5
|
|
32
|
+
MEDIA = 6
|
|
33
|
+
HTML_DOWNLOAD = 7
|
|
34
|
+
PREFETCH = 8
|
|
35
|
+
OTHER = 9
|
|
36
|
+
CROSS_ORIGIN_PRE_FLIGHT = 10
|
|
37
|
+
FETCH = 11
|
|
38
|
+
BEACON = 12
|
|
39
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Web.Http.Diagnostics
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,14 +10,14 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.0.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==
|
|
19
|
-
Requires-Dist: winrt-Windows.System.Diagnostics[all]==
|
|
20
|
-
Requires-Dist: winrt-Windows.Web.Http[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.0.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==3.0.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.System.Diagnostics[all]==3.0.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Web.Http[all]==3.0.0; extra == "all"
|
|
21
21
|
|
|
22
22
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
23
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.2.0
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
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
|
-
|
|
10
|
-
import winrt._winrt
|
|
11
|
-
import winrt.system
|
|
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
|
-
|
|
17
|
-
from winrt.windows.web.http.diagnostics import HttpDiagnosticRequestInitiator
|
|
18
|
-
|
|
19
|
-
Self = typing.TypeVar('Self')
|
|
20
|
-
|
|
21
|
-
@typing.final
|
|
22
|
-
class HttpDiagnosticProvider_Static(type):
|
|
23
|
-
def create_from_process_diagnostic_info(cls, process_diagnostic_info: typing.Optional[windows_system_diagnostics.ProcessDiagnosticInfo], /) -> typing.Optional[HttpDiagnosticProvider]: ...
|
|
24
|
-
|
|
25
|
-
@typing.final
|
|
26
|
-
class HttpDiagnosticProvider(winrt.system.Object, metaclass=HttpDiagnosticProvider_Static):
|
|
27
|
-
@staticmethod
|
|
28
|
-
def _from(obj: winrt.system.Object, /) -> HttpDiagnosticProvider: ...
|
|
29
|
-
def start(self) -> None: ...
|
|
30
|
-
def stop(self) -> 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
|
-
|
|
38
|
-
@typing.final
|
|
39
|
-
class HttpDiagnosticProviderRequestResponseCompletedEventArgs(winrt.system.Object):
|
|
40
|
-
@staticmethod
|
|
41
|
-
def _from(obj: winrt.system.Object, /) -> HttpDiagnosticProviderRequestResponseCompletedEventArgs: ...
|
|
42
|
-
@_property
|
|
43
|
-
def activity_id(self) -> _uuid.UUID: ...
|
|
44
|
-
@_property
|
|
45
|
-
def initiator(self) -> HttpDiagnosticRequestInitiator: ...
|
|
46
|
-
@_property
|
|
47
|
-
def process_id(self) -> winrt.system.UInt32: ...
|
|
48
|
-
@_property
|
|
49
|
-
def requested_uri(self) -> typing.Optional[windows_foundation.Uri]: ...
|
|
50
|
-
@_property
|
|
51
|
-
def source_locations(self) -> typing.Optional[windows_foundation_collections.IVectorView[HttpDiagnosticSourceLocation]]: ...
|
|
52
|
-
@_property
|
|
53
|
-
def thread_id(self) -> winrt.system.UInt32: ...
|
|
54
|
-
@_property
|
|
55
|
-
def timestamps(self) -> typing.Optional[HttpDiagnosticProviderRequestResponseTimestamps]: ...
|
|
56
|
-
|
|
57
|
-
@typing.final
|
|
58
|
-
class HttpDiagnosticProviderRequestResponseTimestamps(winrt.system.Object):
|
|
59
|
-
@staticmethod
|
|
60
|
-
def _from(obj: winrt.system.Object, /) -> HttpDiagnosticProviderRequestResponseTimestamps: ...
|
|
61
|
-
@_property
|
|
62
|
-
def cache_checked_timestamp(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
|
|
63
|
-
@_property
|
|
64
|
-
def connection_completed_timestamp(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
|
|
65
|
-
@_property
|
|
66
|
-
def connection_initiated_timestamp(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
|
|
67
|
-
@_property
|
|
68
|
-
def name_resolved_timestamp(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
|
|
69
|
-
@_property
|
|
70
|
-
def request_completed_timestamp(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
|
|
71
|
-
@_property
|
|
72
|
-
def request_sent_timestamp(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
|
|
73
|
-
@_property
|
|
74
|
-
def response_completed_timestamp(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
|
|
75
|
-
@_property
|
|
76
|
-
def response_received_timestamp(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
|
|
77
|
-
@_property
|
|
78
|
-
def ssl_negotiated_timestamp(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
|
|
79
|
-
|
|
80
|
-
@typing.final
|
|
81
|
-
class HttpDiagnosticProviderRequestSentEventArgs(winrt.system.Object):
|
|
82
|
-
@staticmethod
|
|
83
|
-
def _from(obj: winrt.system.Object, /) -> HttpDiagnosticProviderRequestSentEventArgs: ...
|
|
84
|
-
@_property
|
|
85
|
-
def activity_id(self) -> _uuid.UUID: ...
|
|
86
|
-
@_property
|
|
87
|
-
def initiator(self) -> HttpDiagnosticRequestInitiator: ...
|
|
88
|
-
@_property
|
|
89
|
-
def message(self) -> typing.Optional[windows_web_http.HttpRequestMessage]: ...
|
|
90
|
-
@_property
|
|
91
|
-
def process_id(self) -> winrt.system.UInt32: ...
|
|
92
|
-
@_property
|
|
93
|
-
def source_locations(self) -> typing.Optional[windows_foundation_collections.IVectorView[HttpDiagnosticSourceLocation]]: ...
|
|
94
|
-
@_property
|
|
95
|
-
def thread_id(self) -> winrt.system.UInt32: ...
|
|
96
|
-
@_property
|
|
97
|
-
def timestamp(self) -> datetime.datetime: ...
|
|
98
|
-
|
|
99
|
-
@typing.final
|
|
100
|
-
class HttpDiagnosticProviderResponseReceivedEventArgs(winrt.system.Object):
|
|
101
|
-
@staticmethod
|
|
102
|
-
def _from(obj: winrt.system.Object, /) -> HttpDiagnosticProviderResponseReceivedEventArgs: ...
|
|
103
|
-
@_property
|
|
104
|
-
def activity_id(self) -> _uuid.UUID: ...
|
|
105
|
-
@_property
|
|
106
|
-
def message(self) -> typing.Optional[windows_web_http.HttpResponseMessage]: ...
|
|
107
|
-
@_property
|
|
108
|
-
def timestamp(self) -> datetime.datetime: ...
|
|
109
|
-
|
|
110
|
-
@typing.final
|
|
111
|
-
class HttpDiagnosticSourceLocation(winrt.system.Object):
|
|
112
|
-
@staticmethod
|
|
113
|
-
def _from(obj: winrt.system.Object, /) -> HttpDiagnosticSourceLocation: ...
|
|
114
|
-
@_property
|
|
115
|
-
def column_number(self) -> winrt.system.UInt64: ...
|
|
116
|
-
@_property
|
|
117
|
-
def line_number(self) -> winrt.system.UInt64: ...
|
|
118
|
-
@_property
|
|
119
|
-
def source_uri(self) -> typing.Optional[windows_foundation.Uri]: ...
|
|
120
|
-
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
-
|
|
3
|
-
import enum
|
|
4
|
-
|
|
5
|
-
import winrt.system
|
|
6
|
-
from winrt import _winrt_windows_web_http_diagnostics
|
|
7
|
-
|
|
8
|
-
__all__ = [
|
|
9
|
-
"HttpDiagnosticRequestInitiator",
|
|
10
|
-
"HttpDiagnosticProvider",
|
|
11
|
-
"HttpDiagnosticProviderRequestResponseCompletedEventArgs",
|
|
12
|
-
"HttpDiagnosticProviderRequestResponseTimestamps",
|
|
13
|
-
"HttpDiagnosticProviderRequestSentEventArgs",
|
|
14
|
-
"HttpDiagnosticProviderResponseReceivedEventArgs",
|
|
15
|
-
"HttpDiagnosticSourceLocation",
|
|
16
|
-
]
|
|
17
|
-
|
|
18
|
-
class HttpDiagnosticRequestInitiator(enum.IntEnum):
|
|
19
|
-
PARSED_ELEMENT = 0
|
|
20
|
-
SCRIPT = 1
|
|
21
|
-
IMAGE = 2
|
|
22
|
-
LINK = 3
|
|
23
|
-
STYLE = 4
|
|
24
|
-
XML_HTTP_REQUEST = 5
|
|
25
|
-
MEDIA = 6
|
|
26
|
-
HTML_DOWNLOAD = 7
|
|
27
|
-
PREFETCH = 8
|
|
28
|
-
OTHER = 9
|
|
29
|
-
CROSS_ORIGIN_PRE_FLIGHT = 10
|
|
30
|
-
FETCH = 11
|
|
31
|
-
BEACON = 12
|
|
32
|
-
|
|
33
|
-
HttpDiagnosticProvider = _winrt_windows_web_http_diagnostics.HttpDiagnosticProvider
|
|
34
|
-
HttpDiagnosticProviderRequestResponseCompletedEventArgs = _winrt_windows_web_http_diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs
|
|
35
|
-
HttpDiagnosticProviderRequestResponseTimestamps = _winrt_windows_web_http_diagnostics.HttpDiagnosticProviderRequestResponseTimestamps
|
|
36
|
-
HttpDiagnosticProviderRequestSentEventArgs = _winrt_windows_web_http_diagnostics.HttpDiagnosticProviderRequestSentEventArgs
|
|
37
|
-
HttpDiagnosticProviderResponseReceivedEventArgs = _winrt_windows_web_http_diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs
|
|
38
|
-
HttpDiagnosticSourceLocation = _winrt_windows_web_http_diagnostics.HttpDiagnosticSourceLocation
|
{winrt_windows_web_http_diagnostics-2.2.0 → winrt_windows_web_http_diagnostics-3.0.0}/README.md
RENAMED
|
File without changes
|
{winrt_windows_web_http_diagnostics-2.2.0 → winrt_windows_web_http_diagnostics-3.0.0}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|