winrt-Windows.Web.Http 3.2.1__cp314-cp314-win_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- winrt/_winrt_windows_web_http.cp314-win_arm64.pyd +0 -0
- winrt/_winrt_windows_web_http.pyi +643 -0
- winrt/windows/web/http/__init__.py +146 -0
- winrt/windows/web/http/py.typed +0 -0
- winrt_windows_web_http-3.2.1.dist-info/METADATA +31 -0
- winrt_windows_web_http-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_web_http-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_web_http-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,643 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
from abc import abstractmethod
|
|
10
|
+
|
|
11
|
+
import winrt._winrt
|
|
12
|
+
import winrt.system
|
|
13
|
+
import winrt.windows.foundation as windows_foundation
|
|
14
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
15
|
+
import winrt.windows.networking.sockets as windows_networking_sockets
|
|
16
|
+
import winrt.windows.security.cryptography.certificates as windows_security_cryptography_certificates
|
|
17
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
18
|
+
import winrt.windows.web.http.filters as windows_web_http_filters
|
|
19
|
+
import winrt.windows.web.http.headers as windows_web_http_headers
|
|
20
|
+
|
|
21
|
+
from winrt.windows.web.http import HttpCompletionOption, HttpProgressStage, HttpResponseMessageSource, HttpStatusCode, HttpVersion
|
|
22
|
+
|
|
23
|
+
Self = typing.TypeVar('Self')
|
|
24
|
+
|
|
25
|
+
@typing.final
|
|
26
|
+
class HttpProgress:
|
|
27
|
+
@_property
|
|
28
|
+
def stage(self) -> HttpProgressStage: ...
|
|
29
|
+
@_property
|
|
30
|
+
def bytes_sent(self) -> winrt.system.UInt64: ...
|
|
31
|
+
@_property
|
|
32
|
+
def total_bytes_to_send(self) -> typing.Optional[winrt.system.UInt64]: ...
|
|
33
|
+
@_property
|
|
34
|
+
def bytes_received(self) -> winrt.system.UInt64: ...
|
|
35
|
+
@_property
|
|
36
|
+
def total_bytes_to_receive(self) -> typing.Optional[winrt.system.UInt64]: ...
|
|
37
|
+
@_property
|
|
38
|
+
def retries(self) -> winrt.system.UInt32: ...
|
|
39
|
+
def __new__(cls, stage: HttpProgressStage = HttpProgressStage(0), bytes_sent: winrt.system.UInt64 = 0, total_bytes_to_send: typing.Optional[winrt.system.UInt64] = None, bytes_received: winrt.system.UInt64 = 0, total_bytes_to_receive: typing.Optional[winrt.system.UInt64] = None, retries: winrt.system.UInt32 = 0) -> HttpProgress: ...
|
|
40
|
+
def __replace__(self, /, **changes: typing.Any) -> HttpProgress: ...
|
|
41
|
+
def unpack(self) -> typing.Tuple[HttpProgressStage, winrt.system.UInt64, typing.Optional[winrt.system.UInt64], winrt.system.UInt64, typing.Optional[winrt.system.UInt64], winrt.system.UInt32]: ...
|
|
42
|
+
|
|
43
|
+
@typing.final
|
|
44
|
+
class HttpBufferContent(winrt.system.Object, windows_foundation.IStringable, IHttpContent, windows_foundation.IClosable):
|
|
45
|
+
def __enter__(self: Self) -> Self: ...
|
|
46
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
47
|
+
def __str__(self) -> str: ...
|
|
48
|
+
@typing.overload
|
|
49
|
+
def __new__(cls: typing.Type[Self], content: winrt.system.Buffer) -> Self: ...
|
|
50
|
+
@typing.overload
|
|
51
|
+
def __new__(cls: typing.Type[Self], content: winrt.system.Buffer, offset: winrt.system.UInt32, count: winrt.system.UInt32) -> Self: ...
|
|
52
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt64,System.UInt64> Windows.Web.Http.HttpBufferContent::BufferAllAsync()
|
|
53
|
+
def buffer_all_async(self) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt64, winrt.system.UInt64]: ...
|
|
54
|
+
# System.Void Windows.Web.Http.HttpBufferContent::Close()
|
|
55
|
+
def close(self) -> None: ...
|
|
56
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IBuffer,System.UInt64> Windows.Web.Http.HttpBufferContent::ReadAsBufferAsync()
|
|
57
|
+
def read_as_buffer_async(self) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.Buffer, winrt.system.UInt64]: ...
|
|
58
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IInputStream,System.UInt64> Windows.Web.Http.HttpBufferContent::ReadAsInputStreamAsync()
|
|
59
|
+
def read_as_input_stream_async(self) -> windows_foundation.IAsyncOperationWithProgress[windows_storage_streams.IInputStream, winrt.system.UInt64]: ...
|
|
60
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.String,System.UInt64> Windows.Web.Http.HttpBufferContent::ReadAsStringAsync()
|
|
61
|
+
def read_as_string_async(self) -> windows_foundation.IAsyncOperationWithProgress[str, winrt.system.UInt64]: ...
|
|
62
|
+
# System.String Windows.Web.Http.HttpBufferContent::ToString()
|
|
63
|
+
def to_string(self) -> str: ...
|
|
64
|
+
# System.Boolean Windows.Web.Http.HttpBufferContent::TryComputeLength(System.UInt64&)
|
|
65
|
+
def try_compute_length(self) -> typing.Tuple[bool, winrt.system.UInt64]: ...
|
|
66
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt64,System.UInt64> Windows.Web.Http.HttpBufferContent::WriteToStreamAsync(Windows.Storage.Streams.IOutputStream)
|
|
67
|
+
def write_to_stream_async(self, output_stream: windows_storage_streams.IOutputStream, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt64, winrt.system.UInt64]: ...
|
|
68
|
+
# Windows.Web.Http.Headers.HttpContentHeaderCollection Windows.Web.Http.HttpBufferContent::get_Headers()
|
|
69
|
+
@_property
|
|
70
|
+
def headers(self) -> windows_web_http_headers.HttpContentHeaderCollection: ...
|
|
71
|
+
|
|
72
|
+
@typing.final
|
|
73
|
+
class HttpClient(winrt.system.Object, windows_foundation.IStringable, windows_foundation.IClosable):
|
|
74
|
+
def __enter__(self: Self) -> Self: ...
|
|
75
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
76
|
+
def __str__(self) -> str: ...
|
|
77
|
+
@typing.overload
|
|
78
|
+
def __new__(cls: typing.Type[Self], filter: windows_web_http_filters.IHttpFilter) -> Self: ...
|
|
79
|
+
@typing.overload
|
|
80
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
81
|
+
# System.Void Windows.Web.Http.HttpClient::Close()
|
|
82
|
+
def close(self) -> None: ...
|
|
83
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpResponseMessage,Windows.Web.Http.HttpProgress> Windows.Web.Http.HttpClient::DeleteAsync(Windows.Foundation.Uri)
|
|
84
|
+
def delete_async(self, uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperationWithProgress[HttpResponseMessage, HttpProgress]: ...
|
|
85
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpResponseMessage,Windows.Web.Http.HttpProgress> Windows.Web.Http.HttpClient::GetAsync(Windows.Foundation.Uri)
|
|
86
|
+
def get_async(self, uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperationWithProgress[HttpResponseMessage, HttpProgress]: ...
|
|
87
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IBuffer,Windows.Web.Http.HttpProgress> Windows.Web.Http.HttpClient::GetBufferAsync(Windows.Foundation.Uri)
|
|
88
|
+
def get_buffer_async(self, uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.Buffer, HttpProgress]: ...
|
|
89
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IInputStream,Windows.Web.Http.HttpProgress> Windows.Web.Http.HttpClient::GetInputStreamAsync(Windows.Foundation.Uri)
|
|
90
|
+
def get_input_stream_async(self, uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperationWithProgress[windows_storage_streams.IInputStream, HttpProgress]: ...
|
|
91
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.String,Windows.Web.Http.HttpProgress> Windows.Web.Http.HttpClient::GetStringAsync(Windows.Foundation.Uri)
|
|
92
|
+
def get_string_async(self, uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperationWithProgress[str, HttpProgress]: ...
|
|
93
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpResponseMessage,Windows.Web.Http.HttpProgress> Windows.Web.Http.HttpClient::GetAsync(Windows.Foundation.Uri,Windows.Web.Http.HttpCompletionOption)
|
|
94
|
+
def get_with_option_async(self, uri: windows_foundation.Uri, completion_option: HttpCompletionOption, /) -> windows_foundation.IAsyncOperationWithProgress[HttpResponseMessage, HttpProgress]: ...
|
|
95
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpResponseMessage,Windows.Web.Http.HttpProgress> Windows.Web.Http.HttpClient::PostAsync(Windows.Foundation.Uri,Windows.Web.Http.IHttpContent)
|
|
96
|
+
def post_async(self, uri: windows_foundation.Uri, content: IHttpContent, /) -> windows_foundation.IAsyncOperationWithProgress[HttpResponseMessage, HttpProgress]: ...
|
|
97
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpResponseMessage,Windows.Web.Http.HttpProgress> Windows.Web.Http.HttpClient::PutAsync(Windows.Foundation.Uri,Windows.Web.Http.IHttpContent)
|
|
98
|
+
def put_async(self, uri: windows_foundation.Uri, content: IHttpContent, /) -> windows_foundation.IAsyncOperationWithProgress[HttpResponseMessage, HttpProgress]: ...
|
|
99
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpResponseMessage,Windows.Web.Http.HttpProgress> Windows.Web.Http.HttpClient::SendRequestAsync(Windows.Web.Http.HttpRequestMessage)
|
|
100
|
+
def send_request_async(self, request: HttpRequestMessage, /) -> windows_foundation.IAsyncOperationWithProgress[HttpResponseMessage, HttpProgress]: ...
|
|
101
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpResponseMessage,Windows.Web.Http.HttpProgress> Windows.Web.Http.HttpClient::SendRequestAsync(Windows.Web.Http.HttpRequestMessage,Windows.Web.Http.HttpCompletionOption)
|
|
102
|
+
def send_request_with_option_async(self, request: HttpRequestMessage, completion_option: HttpCompletionOption, /) -> windows_foundation.IAsyncOperationWithProgress[HttpResponseMessage, HttpProgress]: ...
|
|
103
|
+
# System.String Windows.Web.Http.HttpClient::ToString()
|
|
104
|
+
def to_string(self) -> str: ...
|
|
105
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpRequestResult,Windows.Web.Http.HttpProgress> Windows.Web.Http.HttpClient::TryDeleteAsync(Windows.Foundation.Uri)
|
|
106
|
+
def try_delete_async(self, uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperationWithProgress[HttpRequestResult, HttpProgress]: ...
|
|
107
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpRequestResult,Windows.Web.Http.HttpProgress> Windows.Web.Http.HttpClient::TryGetAsync(Windows.Foundation.Uri)
|
|
108
|
+
def try_get_async(self, uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperationWithProgress[HttpRequestResult, HttpProgress]: ...
|
|
109
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpRequestResult,Windows.Web.Http.HttpProgress> Windows.Web.Http.HttpClient::TryGetAsync(Windows.Foundation.Uri,Windows.Web.Http.HttpCompletionOption)
|
|
110
|
+
def try_get_async2(self, uri: windows_foundation.Uri, completion_option: HttpCompletionOption, /) -> windows_foundation.IAsyncOperationWithProgress[HttpRequestResult, HttpProgress]: ...
|
|
111
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpGetBufferResult,Windows.Web.Http.HttpProgress> Windows.Web.Http.HttpClient::TryGetBufferAsync(Windows.Foundation.Uri)
|
|
112
|
+
def try_get_buffer_async(self, uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperationWithProgress[HttpGetBufferResult, HttpProgress]: ...
|
|
113
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpGetInputStreamResult,Windows.Web.Http.HttpProgress> Windows.Web.Http.HttpClient::TryGetInputStreamAsync(Windows.Foundation.Uri)
|
|
114
|
+
def try_get_input_stream_async(self, uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperationWithProgress[HttpGetInputStreamResult, HttpProgress]: ...
|
|
115
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpGetStringResult,Windows.Web.Http.HttpProgress> Windows.Web.Http.HttpClient::TryGetStringAsync(Windows.Foundation.Uri)
|
|
116
|
+
def try_get_string_async(self, uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperationWithProgress[HttpGetStringResult, HttpProgress]: ...
|
|
117
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpRequestResult,Windows.Web.Http.HttpProgress> Windows.Web.Http.HttpClient::TryPostAsync(Windows.Foundation.Uri,Windows.Web.Http.IHttpContent)
|
|
118
|
+
def try_post_async(self, uri: windows_foundation.Uri, content: IHttpContent, /) -> windows_foundation.IAsyncOperationWithProgress[HttpRequestResult, HttpProgress]: ...
|
|
119
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpRequestResult,Windows.Web.Http.HttpProgress> Windows.Web.Http.HttpClient::TryPutAsync(Windows.Foundation.Uri,Windows.Web.Http.IHttpContent)
|
|
120
|
+
def try_put_async(self, uri: windows_foundation.Uri, content: IHttpContent, /) -> windows_foundation.IAsyncOperationWithProgress[HttpRequestResult, HttpProgress]: ...
|
|
121
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpRequestResult,Windows.Web.Http.HttpProgress> Windows.Web.Http.HttpClient::TrySendRequestAsync(Windows.Web.Http.HttpRequestMessage)
|
|
122
|
+
def try_send_request_async(self, request: HttpRequestMessage, /) -> windows_foundation.IAsyncOperationWithProgress[HttpRequestResult, HttpProgress]: ...
|
|
123
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Web.Http.HttpRequestResult,Windows.Web.Http.HttpProgress> Windows.Web.Http.HttpClient::TrySendRequestAsync(Windows.Web.Http.HttpRequestMessage,Windows.Web.Http.HttpCompletionOption)
|
|
124
|
+
def try_send_request_async2(self, request: HttpRequestMessage, completion_option: HttpCompletionOption, /) -> windows_foundation.IAsyncOperationWithProgress[HttpRequestResult, HttpProgress]: ...
|
|
125
|
+
# Windows.Web.Http.Headers.HttpRequestHeaderCollection Windows.Web.Http.HttpClient::get_DefaultRequestHeaders()
|
|
126
|
+
@_property
|
|
127
|
+
def default_request_headers(self) -> windows_web_http_headers.HttpRequestHeaderCollection: ...
|
|
128
|
+
# System.String Windows.Web.Http.HttpClient::get_DefaultPrivacyAnnotation()
|
|
129
|
+
@_property
|
|
130
|
+
def default_privacy_annotation(self) -> str: ...
|
|
131
|
+
# System.Void Windows.Web.Http.HttpClient::put_DefaultPrivacyAnnotation(System.String)
|
|
132
|
+
@default_privacy_annotation.setter
|
|
133
|
+
def default_privacy_annotation(self, value: str) -> None: ...
|
|
134
|
+
|
|
135
|
+
@typing.final
|
|
136
|
+
class HttpCookie(winrt.system.Object, windows_foundation.IStringable):
|
|
137
|
+
def __str__(self) -> str: ...
|
|
138
|
+
def __new__(cls: typing.Type[Self], name: str, domain: str, path: str) -> Self: ...
|
|
139
|
+
# System.String Windows.Web.Http.HttpCookie::ToString()
|
|
140
|
+
def to_string(self) -> str: ...
|
|
141
|
+
# System.String Windows.Web.Http.HttpCookie::get_Value()
|
|
142
|
+
@_property
|
|
143
|
+
def value(self) -> str: ...
|
|
144
|
+
# System.Void Windows.Web.Http.HttpCookie::put_Value(System.String)
|
|
145
|
+
@value.setter
|
|
146
|
+
def value(self, value: str) -> None: ...
|
|
147
|
+
# System.Boolean Windows.Web.Http.HttpCookie::get_Secure()
|
|
148
|
+
@_property
|
|
149
|
+
def secure(self) -> bool: ...
|
|
150
|
+
# System.Void Windows.Web.Http.HttpCookie::put_Secure(System.Boolean)
|
|
151
|
+
@secure.setter
|
|
152
|
+
def secure(self, value: bool) -> None: ...
|
|
153
|
+
# System.Boolean Windows.Web.Http.HttpCookie::get_HttpOnly()
|
|
154
|
+
@_property
|
|
155
|
+
def http_only(self) -> bool: ...
|
|
156
|
+
# System.Void Windows.Web.Http.HttpCookie::put_HttpOnly(System.Boolean)
|
|
157
|
+
@http_only.setter
|
|
158
|
+
def http_only(self, value: bool) -> None: ...
|
|
159
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Web.Http.HttpCookie::get_Expires()
|
|
160
|
+
@_property
|
|
161
|
+
def expires(self) -> typing.Optional[datetime.datetime]: ...
|
|
162
|
+
# System.Void Windows.Web.Http.HttpCookie::put_Expires(Windows.Foundation.IReference`1<Windows.Foundation.DateTime>)
|
|
163
|
+
@expires.setter
|
|
164
|
+
def expires(self, value: typing.Optional[datetime.datetime]) -> None: ...
|
|
165
|
+
# System.String Windows.Web.Http.HttpCookie::get_Domain()
|
|
166
|
+
@_property
|
|
167
|
+
def domain(self) -> str: ...
|
|
168
|
+
# System.String Windows.Web.Http.HttpCookie::get_Name()
|
|
169
|
+
@_property
|
|
170
|
+
def name(self) -> str: ...
|
|
171
|
+
# System.String Windows.Web.Http.HttpCookie::get_Path()
|
|
172
|
+
@_property
|
|
173
|
+
def path(self) -> str: ...
|
|
174
|
+
|
|
175
|
+
@typing.final
|
|
176
|
+
class HttpCookieCollection(winrt.system.Object, winrt._winrt.Sequence[HttpCookie]):
|
|
177
|
+
def __len__(self) -> int: ...
|
|
178
|
+
def __iter__(self) -> typing.Iterator[HttpCookie]: ...
|
|
179
|
+
@typing.overload
|
|
180
|
+
def __getitem__(self, index: typing.SupportsIndex) -> HttpCookie: ...
|
|
181
|
+
@typing.overload
|
|
182
|
+
def __getitem__(self, index: slice) -> winrt.system.Array[HttpCookie]: ...
|
|
183
|
+
# Windows.Foundation.Collections.IIterator`1<Windows.Web.Http.HttpCookie> Windows.Web.Http.HttpCookieCollection::First()
|
|
184
|
+
def first(self) -> windows_foundation_collections.IIterator[HttpCookie]: ...
|
|
185
|
+
# Windows.Web.Http.HttpCookie Windows.Web.Http.HttpCookieCollection::GetAt(System.UInt32)
|
|
186
|
+
def get_at(self, index: winrt.system.UInt32, /) -> HttpCookie: ...
|
|
187
|
+
# System.UInt32 Windows.Web.Http.HttpCookieCollection::GetMany(System.UInt32,Windows.Web.Http.HttpCookie[])
|
|
188
|
+
def get_many(self, start_index: winrt.system.UInt32, items: typing.Union[winrt.system.Array[HttpCookie], winrt.system.WriteableBuffer], /) -> winrt.system.UInt32: ...
|
|
189
|
+
# System.Boolean Windows.Web.Http.HttpCookieCollection::IndexOf(Windows.Web.Http.HttpCookie,System.UInt32&)
|
|
190
|
+
def index_of(self, value: HttpCookie, /) -> typing.Tuple[bool, winrt.system.UInt32]: ...
|
|
191
|
+
# System.UInt32 Windows.Web.Http.HttpCookieCollection::get_Size()
|
|
192
|
+
@_property
|
|
193
|
+
def size(self) -> winrt.system.UInt32: ...
|
|
194
|
+
|
|
195
|
+
@typing.final
|
|
196
|
+
class HttpCookieManager(winrt.system.Object):
|
|
197
|
+
# System.Void Windows.Web.Http.HttpCookieManager::DeleteCookie(Windows.Web.Http.HttpCookie)
|
|
198
|
+
def delete_cookie(self, cookie: HttpCookie, /) -> None: ...
|
|
199
|
+
# Windows.Web.Http.HttpCookieCollection Windows.Web.Http.HttpCookieManager::GetCookies(Windows.Foundation.Uri)
|
|
200
|
+
def get_cookies(self, uri: windows_foundation.Uri, /) -> HttpCookieCollection: ...
|
|
201
|
+
# System.Boolean Windows.Web.Http.HttpCookieManager::SetCookie(Windows.Web.Http.HttpCookie)
|
|
202
|
+
def set_cookie(self, cookie: HttpCookie, /) -> bool: ...
|
|
203
|
+
# System.Boolean Windows.Web.Http.HttpCookieManager::SetCookie(Windows.Web.Http.HttpCookie,System.Boolean)
|
|
204
|
+
def set_cookie_with_third_party(self, cookie: HttpCookie, third_party: bool, /) -> bool: ...
|
|
205
|
+
|
|
206
|
+
@typing.final
|
|
207
|
+
class HttpFormUrlEncodedContent(winrt.system.Object, windows_foundation.IStringable, IHttpContent, windows_foundation.IClosable):
|
|
208
|
+
def __enter__(self: Self) -> Self: ...
|
|
209
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
210
|
+
def __str__(self) -> str: ...
|
|
211
|
+
def __new__(cls: typing.Type[Self], content: typing.Union[typing.Mapping[str, str], typing.Iterable[windows_foundation_collections.IKeyValuePair[str, str]]]) -> Self: ...
|
|
212
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt64,System.UInt64> Windows.Web.Http.HttpFormUrlEncodedContent::BufferAllAsync()
|
|
213
|
+
def buffer_all_async(self) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt64, winrt.system.UInt64]: ...
|
|
214
|
+
# System.Void Windows.Web.Http.HttpFormUrlEncodedContent::Close()
|
|
215
|
+
def close(self) -> None: ...
|
|
216
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IBuffer,System.UInt64> Windows.Web.Http.HttpFormUrlEncodedContent::ReadAsBufferAsync()
|
|
217
|
+
def read_as_buffer_async(self) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.Buffer, winrt.system.UInt64]: ...
|
|
218
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IInputStream,System.UInt64> Windows.Web.Http.HttpFormUrlEncodedContent::ReadAsInputStreamAsync()
|
|
219
|
+
def read_as_input_stream_async(self) -> windows_foundation.IAsyncOperationWithProgress[windows_storage_streams.IInputStream, winrt.system.UInt64]: ...
|
|
220
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.String,System.UInt64> Windows.Web.Http.HttpFormUrlEncodedContent::ReadAsStringAsync()
|
|
221
|
+
def read_as_string_async(self) -> windows_foundation.IAsyncOperationWithProgress[str, winrt.system.UInt64]: ...
|
|
222
|
+
# System.String Windows.Web.Http.HttpFormUrlEncodedContent::ToString()
|
|
223
|
+
def to_string(self) -> str: ...
|
|
224
|
+
# System.Boolean Windows.Web.Http.HttpFormUrlEncodedContent::TryComputeLength(System.UInt64&)
|
|
225
|
+
def try_compute_length(self) -> typing.Tuple[bool, winrt.system.UInt64]: ...
|
|
226
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt64,System.UInt64> Windows.Web.Http.HttpFormUrlEncodedContent::WriteToStreamAsync(Windows.Storage.Streams.IOutputStream)
|
|
227
|
+
def write_to_stream_async(self, output_stream: windows_storage_streams.IOutputStream, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt64, winrt.system.UInt64]: ...
|
|
228
|
+
# Windows.Web.Http.Headers.HttpContentHeaderCollection Windows.Web.Http.HttpFormUrlEncodedContent::get_Headers()
|
|
229
|
+
@_property
|
|
230
|
+
def headers(self) -> windows_web_http_headers.HttpContentHeaderCollection: ...
|
|
231
|
+
|
|
232
|
+
@typing.final
|
|
233
|
+
class HttpGetBufferResult(winrt.system.Object, windows_foundation.IStringable, windows_foundation.IClosable):
|
|
234
|
+
def __enter__(self: Self) -> Self: ...
|
|
235
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
236
|
+
def __str__(self) -> str: ...
|
|
237
|
+
# System.Void Windows.Web.Http.HttpGetBufferResult::Close()
|
|
238
|
+
def close(self) -> None: ...
|
|
239
|
+
# System.String Windows.Web.Http.HttpGetBufferResult::ToString()
|
|
240
|
+
def to_string(self) -> str: ...
|
|
241
|
+
# Windows.Foundation.HResult Windows.Web.Http.HttpGetBufferResult::get_ExtendedError()
|
|
242
|
+
@_property
|
|
243
|
+
def extended_error(self) -> windows_foundation.HResult: ...
|
|
244
|
+
# Windows.Web.Http.HttpRequestMessage Windows.Web.Http.HttpGetBufferResult::get_RequestMessage()
|
|
245
|
+
@_property
|
|
246
|
+
def request_message(self) -> HttpRequestMessage: ...
|
|
247
|
+
# Windows.Web.Http.HttpResponseMessage Windows.Web.Http.HttpGetBufferResult::get_ResponseMessage()
|
|
248
|
+
@_property
|
|
249
|
+
def response_message(self) -> HttpResponseMessage: ...
|
|
250
|
+
# System.Boolean Windows.Web.Http.HttpGetBufferResult::get_Succeeded()
|
|
251
|
+
@_property
|
|
252
|
+
def succeeded(self) -> bool: ...
|
|
253
|
+
# Windows.Storage.Streams.IBuffer Windows.Web.Http.HttpGetBufferResult::get_Value()
|
|
254
|
+
@_property
|
|
255
|
+
def value(self) -> winrt.system.Buffer: ...
|
|
256
|
+
|
|
257
|
+
@typing.final
|
|
258
|
+
class HttpGetInputStreamResult(winrt.system.Object, windows_foundation.IStringable, windows_foundation.IClosable):
|
|
259
|
+
def __enter__(self: Self) -> Self: ...
|
|
260
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
261
|
+
def __str__(self) -> str: ...
|
|
262
|
+
# System.Void Windows.Web.Http.HttpGetInputStreamResult::Close()
|
|
263
|
+
def close(self) -> None: ...
|
|
264
|
+
# System.String Windows.Web.Http.HttpGetInputStreamResult::ToString()
|
|
265
|
+
def to_string(self) -> str: ...
|
|
266
|
+
# Windows.Foundation.HResult Windows.Web.Http.HttpGetInputStreamResult::get_ExtendedError()
|
|
267
|
+
@_property
|
|
268
|
+
def extended_error(self) -> windows_foundation.HResult: ...
|
|
269
|
+
# Windows.Web.Http.HttpRequestMessage Windows.Web.Http.HttpGetInputStreamResult::get_RequestMessage()
|
|
270
|
+
@_property
|
|
271
|
+
def request_message(self) -> HttpRequestMessage: ...
|
|
272
|
+
# Windows.Web.Http.HttpResponseMessage Windows.Web.Http.HttpGetInputStreamResult::get_ResponseMessage()
|
|
273
|
+
@_property
|
|
274
|
+
def response_message(self) -> HttpResponseMessage: ...
|
|
275
|
+
# System.Boolean Windows.Web.Http.HttpGetInputStreamResult::get_Succeeded()
|
|
276
|
+
@_property
|
|
277
|
+
def succeeded(self) -> bool: ...
|
|
278
|
+
# Windows.Storage.Streams.IInputStream Windows.Web.Http.HttpGetInputStreamResult::get_Value()
|
|
279
|
+
@_property
|
|
280
|
+
def value(self) -> windows_storage_streams.IInputStream: ...
|
|
281
|
+
|
|
282
|
+
@typing.final
|
|
283
|
+
class HttpGetStringResult(winrt.system.Object, windows_foundation.IStringable, windows_foundation.IClosable):
|
|
284
|
+
def __enter__(self: Self) -> Self: ...
|
|
285
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
286
|
+
def __str__(self) -> str: ...
|
|
287
|
+
# System.Void Windows.Web.Http.HttpGetStringResult::Close()
|
|
288
|
+
def close(self) -> None: ...
|
|
289
|
+
# System.String Windows.Web.Http.HttpGetStringResult::ToString()
|
|
290
|
+
def to_string(self) -> str: ...
|
|
291
|
+
# Windows.Foundation.HResult Windows.Web.Http.HttpGetStringResult::get_ExtendedError()
|
|
292
|
+
@_property
|
|
293
|
+
def extended_error(self) -> windows_foundation.HResult: ...
|
|
294
|
+
# Windows.Web.Http.HttpRequestMessage Windows.Web.Http.HttpGetStringResult::get_RequestMessage()
|
|
295
|
+
@_property
|
|
296
|
+
def request_message(self) -> HttpRequestMessage: ...
|
|
297
|
+
# Windows.Web.Http.HttpResponseMessage Windows.Web.Http.HttpGetStringResult::get_ResponseMessage()
|
|
298
|
+
@_property
|
|
299
|
+
def response_message(self) -> HttpResponseMessage: ...
|
|
300
|
+
# System.Boolean Windows.Web.Http.HttpGetStringResult::get_Succeeded()
|
|
301
|
+
@_property
|
|
302
|
+
def succeeded(self) -> bool: ...
|
|
303
|
+
# System.String Windows.Web.Http.HttpGetStringResult::get_Value()
|
|
304
|
+
@_property
|
|
305
|
+
def value(self) -> str: ...
|
|
306
|
+
|
|
307
|
+
@typing.final
|
|
308
|
+
class HttpMethod_Static(winrt._winrt.IInspectable_Static):
|
|
309
|
+
# Windows.Web.Http.HttpMethod Windows.Web.Http.HttpMethod::get_Delete()
|
|
310
|
+
@_property
|
|
311
|
+
def delete(cls) -> HttpMethod: ...
|
|
312
|
+
# Windows.Web.Http.HttpMethod Windows.Web.Http.HttpMethod::get_Get()
|
|
313
|
+
@_property
|
|
314
|
+
def get(cls) -> HttpMethod: ...
|
|
315
|
+
# Windows.Web.Http.HttpMethod Windows.Web.Http.HttpMethod::get_Head()
|
|
316
|
+
@_property
|
|
317
|
+
def head(cls) -> HttpMethod: ...
|
|
318
|
+
# Windows.Web.Http.HttpMethod Windows.Web.Http.HttpMethod::get_Options()
|
|
319
|
+
@_property
|
|
320
|
+
def options(cls) -> HttpMethod: ...
|
|
321
|
+
# Windows.Web.Http.HttpMethod Windows.Web.Http.HttpMethod::get_Patch()
|
|
322
|
+
@_property
|
|
323
|
+
def patch(cls) -> HttpMethod: ...
|
|
324
|
+
# Windows.Web.Http.HttpMethod Windows.Web.Http.HttpMethod::get_Post()
|
|
325
|
+
@_property
|
|
326
|
+
def post(cls) -> HttpMethod: ...
|
|
327
|
+
# Windows.Web.Http.HttpMethod Windows.Web.Http.HttpMethod::get_Put()
|
|
328
|
+
@_property
|
|
329
|
+
def put(cls) -> HttpMethod: ...
|
|
330
|
+
|
|
331
|
+
@typing.final
|
|
332
|
+
class HttpMethod(winrt.system.Object, windows_foundation.IStringable, metaclass=HttpMethod_Static):
|
|
333
|
+
def __str__(self) -> str: ...
|
|
334
|
+
def __new__(cls: typing.Type[Self], method: str) -> Self: ...
|
|
335
|
+
# System.String Windows.Web.Http.HttpMethod::ToString()
|
|
336
|
+
def to_string(self) -> str: ...
|
|
337
|
+
# System.String Windows.Web.Http.HttpMethod::get_Method()
|
|
338
|
+
@_property
|
|
339
|
+
def method(self) -> str: ...
|
|
340
|
+
|
|
341
|
+
@typing.final
|
|
342
|
+
class HttpMultipartContent(winrt.system.Object, windows_foundation.IStringable, IHttpContent, windows_foundation.IClosable):
|
|
343
|
+
def __enter__(self: Self) -> Self: ...
|
|
344
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
345
|
+
def __str__(self) -> str: ...
|
|
346
|
+
def __iter__(self) -> typing.Iterator[IHttpContent]: ...
|
|
347
|
+
@typing.overload
|
|
348
|
+
def __new__(cls: typing.Type[Self], subtype: str) -> Self: ...
|
|
349
|
+
@typing.overload
|
|
350
|
+
def __new__(cls: typing.Type[Self], subtype: str, boundary: str) -> Self: ...
|
|
351
|
+
@typing.overload
|
|
352
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
353
|
+
# System.Void Windows.Web.Http.HttpMultipartContent::Add(Windows.Web.Http.IHttpContent)
|
|
354
|
+
def add(self, content: IHttpContent, /) -> None: ...
|
|
355
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt64,System.UInt64> Windows.Web.Http.HttpMultipartContent::BufferAllAsync()
|
|
356
|
+
def buffer_all_async(self) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt64, winrt.system.UInt64]: ...
|
|
357
|
+
# System.Void Windows.Web.Http.HttpMultipartContent::Close()
|
|
358
|
+
def close(self) -> None: ...
|
|
359
|
+
# Windows.Foundation.Collections.IIterator`1<Windows.Web.Http.IHttpContent> Windows.Web.Http.HttpMultipartContent::First()
|
|
360
|
+
def first(self) -> windows_foundation_collections.IIterator[IHttpContent]: ...
|
|
361
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IBuffer,System.UInt64> Windows.Web.Http.HttpMultipartContent::ReadAsBufferAsync()
|
|
362
|
+
def read_as_buffer_async(self) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.Buffer, winrt.system.UInt64]: ...
|
|
363
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IInputStream,System.UInt64> Windows.Web.Http.HttpMultipartContent::ReadAsInputStreamAsync()
|
|
364
|
+
def read_as_input_stream_async(self) -> windows_foundation.IAsyncOperationWithProgress[windows_storage_streams.IInputStream, winrt.system.UInt64]: ...
|
|
365
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.String,System.UInt64> Windows.Web.Http.HttpMultipartContent::ReadAsStringAsync()
|
|
366
|
+
def read_as_string_async(self) -> windows_foundation.IAsyncOperationWithProgress[str, winrt.system.UInt64]: ...
|
|
367
|
+
# System.String Windows.Web.Http.HttpMultipartContent::ToString()
|
|
368
|
+
def to_string(self) -> str: ...
|
|
369
|
+
# System.Boolean Windows.Web.Http.HttpMultipartContent::TryComputeLength(System.UInt64&)
|
|
370
|
+
def try_compute_length(self) -> typing.Tuple[bool, winrt.system.UInt64]: ...
|
|
371
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt64,System.UInt64> Windows.Web.Http.HttpMultipartContent::WriteToStreamAsync(Windows.Storage.Streams.IOutputStream)
|
|
372
|
+
def write_to_stream_async(self, output_stream: windows_storage_streams.IOutputStream, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt64, winrt.system.UInt64]: ...
|
|
373
|
+
# Windows.Web.Http.Headers.HttpContentHeaderCollection Windows.Web.Http.HttpMultipartContent::get_Headers()
|
|
374
|
+
@_property
|
|
375
|
+
def headers(self) -> windows_web_http_headers.HttpContentHeaderCollection: ...
|
|
376
|
+
|
|
377
|
+
@typing.final
|
|
378
|
+
class HttpMultipartFormDataContent(winrt.system.Object, windows_foundation.IStringable, IHttpContent, windows_foundation.IClosable):
|
|
379
|
+
def __enter__(self: Self) -> Self: ...
|
|
380
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
381
|
+
def __str__(self) -> str: ...
|
|
382
|
+
def __iter__(self) -> typing.Iterator[IHttpContent]: ...
|
|
383
|
+
@typing.overload
|
|
384
|
+
def __new__(cls: typing.Type[Self], boundary: str) -> Self: ...
|
|
385
|
+
@typing.overload
|
|
386
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
387
|
+
# System.Void Windows.Web.Http.HttpMultipartFormDataContent::Add(Windows.Web.Http.IHttpContent)
|
|
388
|
+
def add(self, content: IHttpContent, /) -> None: ...
|
|
389
|
+
# System.Void Windows.Web.Http.HttpMultipartFormDataContent::Add(Windows.Web.Http.IHttpContent,System.String)
|
|
390
|
+
def add_with_name(self, content: IHttpContent, name: str, /) -> None: ...
|
|
391
|
+
# System.Void Windows.Web.Http.HttpMultipartFormDataContent::Add(Windows.Web.Http.IHttpContent,System.String,System.String)
|
|
392
|
+
def add_with_name_and_file_name(self, content: IHttpContent, name: str, file_name: str, /) -> None: ...
|
|
393
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt64,System.UInt64> Windows.Web.Http.HttpMultipartFormDataContent::BufferAllAsync()
|
|
394
|
+
def buffer_all_async(self) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt64, winrt.system.UInt64]: ...
|
|
395
|
+
# System.Void Windows.Web.Http.HttpMultipartFormDataContent::Close()
|
|
396
|
+
def close(self) -> None: ...
|
|
397
|
+
# Windows.Foundation.Collections.IIterator`1<Windows.Web.Http.IHttpContent> Windows.Web.Http.HttpMultipartFormDataContent::First()
|
|
398
|
+
def first(self) -> windows_foundation_collections.IIterator[IHttpContent]: ...
|
|
399
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IBuffer,System.UInt64> Windows.Web.Http.HttpMultipartFormDataContent::ReadAsBufferAsync()
|
|
400
|
+
def read_as_buffer_async(self) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.Buffer, winrt.system.UInt64]: ...
|
|
401
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IInputStream,System.UInt64> Windows.Web.Http.HttpMultipartFormDataContent::ReadAsInputStreamAsync()
|
|
402
|
+
def read_as_input_stream_async(self) -> windows_foundation.IAsyncOperationWithProgress[windows_storage_streams.IInputStream, winrt.system.UInt64]: ...
|
|
403
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.String,System.UInt64> Windows.Web.Http.HttpMultipartFormDataContent::ReadAsStringAsync()
|
|
404
|
+
def read_as_string_async(self) -> windows_foundation.IAsyncOperationWithProgress[str, winrt.system.UInt64]: ...
|
|
405
|
+
# System.String Windows.Web.Http.HttpMultipartFormDataContent::ToString()
|
|
406
|
+
def to_string(self) -> str: ...
|
|
407
|
+
# System.Boolean Windows.Web.Http.HttpMultipartFormDataContent::TryComputeLength(System.UInt64&)
|
|
408
|
+
def try_compute_length(self) -> typing.Tuple[bool, winrt.system.UInt64]: ...
|
|
409
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt64,System.UInt64> Windows.Web.Http.HttpMultipartFormDataContent::WriteToStreamAsync(Windows.Storage.Streams.IOutputStream)
|
|
410
|
+
def write_to_stream_async(self, output_stream: windows_storage_streams.IOutputStream, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt64, winrt.system.UInt64]: ...
|
|
411
|
+
# Windows.Web.Http.Headers.HttpContentHeaderCollection Windows.Web.Http.HttpMultipartFormDataContent::get_Headers()
|
|
412
|
+
@_property
|
|
413
|
+
def headers(self) -> windows_web_http_headers.HttpContentHeaderCollection: ...
|
|
414
|
+
|
|
415
|
+
@typing.final
|
|
416
|
+
class HttpRequestMessage(winrt.system.Object, windows_foundation.IStringable, windows_foundation.IClosable):
|
|
417
|
+
def __enter__(self: Self) -> Self: ...
|
|
418
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
419
|
+
def __str__(self) -> str: ...
|
|
420
|
+
@typing.overload
|
|
421
|
+
def __new__(cls: typing.Type[Self], method: HttpMethod, uri: windows_foundation.Uri) -> Self: ...
|
|
422
|
+
@typing.overload
|
|
423
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
424
|
+
# System.Void Windows.Web.Http.HttpRequestMessage::Close()
|
|
425
|
+
def close(self) -> None: ...
|
|
426
|
+
# System.String Windows.Web.Http.HttpRequestMessage::ToString()
|
|
427
|
+
def to_string(self) -> str: ...
|
|
428
|
+
# Windows.Foundation.Uri Windows.Web.Http.HttpRequestMessage::get_RequestUri()
|
|
429
|
+
@_property
|
|
430
|
+
def request_uri(self) -> windows_foundation.Uri: ...
|
|
431
|
+
# System.Void Windows.Web.Http.HttpRequestMessage::put_RequestUri(Windows.Foundation.Uri)
|
|
432
|
+
@request_uri.setter
|
|
433
|
+
def request_uri(self, value: windows_foundation.Uri) -> None: ...
|
|
434
|
+
# Windows.Web.Http.HttpMethod Windows.Web.Http.HttpRequestMessage::get_Method()
|
|
435
|
+
@_property
|
|
436
|
+
def method(self) -> HttpMethod: ...
|
|
437
|
+
# System.Void Windows.Web.Http.HttpRequestMessage::put_Method(Windows.Web.Http.HttpMethod)
|
|
438
|
+
@method.setter
|
|
439
|
+
def method(self, value: HttpMethod) -> None: ...
|
|
440
|
+
# Windows.Web.Http.IHttpContent Windows.Web.Http.HttpRequestMessage::get_Content()
|
|
441
|
+
@_property
|
|
442
|
+
def content(self) -> IHttpContent: ...
|
|
443
|
+
# System.Void Windows.Web.Http.HttpRequestMessage::put_Content(Windows.Web.Http.IHttpContent)
|
|
444
|
+
@content.setter
|
|
445
|
+
def content(self, value: IHttpContent) -> None: ...
|
|
446
|
+
# Windows.Web.Http.Headers.HttpRequestHeaderCollection Windows.Web.Http.HttpRequestMessage::get_Headers()
|
|
447
|
+
@_property
|
|
448
|
+
def headers(self) -> windows_web_http_headers.HttpRequestHeaderCollection: ...
|
|
449
|
+
# Windows.Foundation.Collections.IMap`2<System.String,System.Object> Windows.Web.Http.HttpRequestMessage::get_Properties()
|
|
450
|
+
@_property
|
|
451
|
+
def properties(self) -> typing.MutableMapping[str, winrt.system.Object]: ...
|
|
452
|
+
# Windows.Web.Http.HttpTransportInformation Windows.Web.Http.HttpRequestMessage::get_TransportInformation()
|
|
453
|
+
@_property
|
|
454
|
+
def transport_information(self) -> HttpTransportInformation: ...
|
|
455
|
+
# System.String Windows.Web.Http.HttpRequestMessage::get_PrivacyAnnotation()
|
|
456
|
+
@_property
|
|
457
|
+
def privacy_annotation(self) -> str: ...
|
|
458
|
+
# System.Void Windows.Web.Http.HttpRequestMessage::put_PrivacyAnnotation(System.String)
|
|
459
|
+
@privacy_annotation.setter
|
|
460
|
+
def privacy_annotation(self, value: str) -> None: ...
|
|
461
|
+
|
|
462
|
+
@typing.final
|
|
463
|
+
class HttpRequestResult(winrt.system.Object, windows_foundation.IStringable, windows_foundation.IClosable):
|
|
464
|
+
def __enter__(self: Self) -> Self: ...
|
|
465
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
466
|
+
def __str__(self) -> str: ...
|
|
467
|
+
# System.Void Windows.Web.Http.HttpRequestResult::Close()
|
|
468
|
+
def close(self) -> None: ...
|
|
469
|
+
# System.String Windows.Web.Http.HttpRequestResult::ToString()
|
|
470
|
+
def to_string(self) -> str: ...
|
|
471
|
+
# Windows.Foundation.HResult Windows.Web.Http.HttpRequestResult::get_ExtendedError()
|
|
472
|
+
@_property
|
|
473
|
+
def extended_error(self) -> windows_foundation.HResult: ...
|
|
474
|
+
# Windows.Web.Http.HttpRequestMessage Windows.Web.Http.HttpRequestResult::get_RequestMessage()
|
|
475
|
+
@_property
|
|
476
|
+
def request_message(self) -> HttpRequestMessage: ...
|
|
477
|
+
# Windows.Web.Http.HttpResponseMessage Windows.Web.Http.HttpRequestResult::get_ResponseMessage()
|
|
478
|
+
@_property
|
|
479
|
+
def response_message(self) -> HttpResponseMessage: ...
|
|
480
|
+
# System.Boolean Windows.Web.Http.HttpRequestResult::get_Succeeded()
|
|
481
|
+
@_property
|
|
482
|
+
def succeeded(self) -> bool: ...
|
|
483
|
+
|
|
484
|
+
@typing.final
|
|
485
|
+
class HttpResponseMessage(winrt.system.Object, windows_foundation.IStringable, windows_foundation.IClosable):
|
|
486
|
+
def __enter__(self: Self) -> Self: ...
|
|
487
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
488
|
+
def __str__(self) -> str: ...
|
|
489
|
+
@typing.overload
|
|
490
|
+
def __new__(cls: typing.Type[Self], status_code: HttpStatusCode) -> Self: ...
|
|
491
|
+
@typing.overload
|
|
492
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
493
|
+
# System.Void Windows.Web.Http.HttpResponseMessage::Close()
|
|
494
|
+
def close(self) -> None: ...
|
|
495
|
+
# Windows.Web.Http.HttpResponseMessage Windows.Web.Http.HttpResponseMessage::EnsureSuccessStatusCode()
|
|
496
|
+
def ensure_success_status_code(self) -> HttpResponseMessage: ...
|
|
497
|
+
# System.String Windows.Web.Http.HttpResponseMessage::ToString()
|
|
498
|
+
def to_string(self) -> str: ...
|
|
499
|
+
# Windows.Web.Http.HttpVersion Windows.Web.Http.HttpResponseMessage::get_Version()
|
|
500
|
+
@_property
|
|
501
|
+
def version(self) -> HttpVersion: ...
|
|
502
|
+
# System.Void Windows.Web.Http.HttpResponseMessage::put_Version(Windows.Web.Http.HttpVersion)
|
|
503
|
+
@version.setter
|
|
504
|
+
def version(self, value: HttpVersion) -> None: ...
|
|
505
|
+
# Windows.Web.Http.HttpStatusCode Windows.Web.Http.HttpResponseMessage::get_StatusCode()
|
|
506
|
+
@_property
|
|
507
|
+
def status_code(self) -> HttpStatusCode: ...
|
|
508
|
+
# System.Void Windows.Web.Http.HttpResponseMessage::put_StatusCode(Windows.Web.Http.HttpStatusCode)
|
|
509
|
+
@status_code.setter
|
|
510
|
+
def status_code(self, value: HttpStatusCode) -> None: ...
|
|
511
|
+
# Windows.Web.Http.HttpResponseMessageSource Windows.Web.Http.HttpResponseMessage::get_Source()
|
|
512
|
+
@_property
|
|
513
|
+
def source(self) -> HttpResponseMessageSource: ...
|
|
514
|
+
# System.Void Windows.Web.Http.HttpResponseMessage::put_Source(Windows.Web.Http.HttpResponseMessageSource)
|
|
515
|
+
@source.setter
|
|
516
|
+
def source(self, value: HttpResponseMessageSource) -> None: ...
|
|
517
|
+
# Windows.Web.Http.HttpRequestMessage Windows.Web.Http.HttpResponseMessage::get_RequestMessage()
|
|
518
|
+
@_property
|
|
519
|
+
def request_message(self) -> HttpRequestMessage: ...
|
|
520
|
+
# System.Void Windows.Web.Http.HttpResponseMessage::put_RequestMessage(Windows.Web.Http.HttpRequestMessage)
|
|
521
|
+
@request_message.setter
|
|
522
|
+
def request_message(self, value: HttpRequestMessage) -> None: ...
|
|
523
|
+
# System.String Windows.Web.Http.HttpResponseMessage::get_ReasonPhrase()
|
|
524
|
+
@_property
|
|
525
|
+
def reason_phrase(self) -> str: ...
|
|
526
|
+
# System.Void Windows.Web.Http.HttpResponseMessage::put_ReasonPhrase(System.String)
|
|
527
|
+
@reason_phrase.setter
|
|
528
|
+
def reason_phrase(self, value: str) -> None: ...
|
|
529
|
+
# Windows.Web.Http.IHttpContent Windows.Web.Http.HttpResponseMessage::get_Content()
|
|
530
|
+
@_property
|
|
531
|
+
def content(self) -> IHttpContent: ...
|
|
532
|
+
# System.Void Windows.Web.Http.HttpResponseMessage::put_Content(Windows.Web.Http.IHttpContent)
|
|
533
|
+
@content.setter
|
|
534
|
+
def content(self, value: IHttpContent) -> None: ...
|
|
535
|
+
# Windows.Web.Http.Headers.HttpResponseHeaderCollection Windows.Web.Http.HttpResponseMessage::get_Headers()
|
|
536
|
+
@_property
|
|
537
|
+
def headers(self) -> windows_web_http_headers.HttpResponseHeaderCollection: ...
|
|
538
|
+
# System.Boolean Windows.Web.Http.HttpResponseMessage::get_IsSuccessStatusCode()
|
|
539
|
+
@_property
|
|
540
|
+
def is_success_status_code(self) -> bool: ...
|
|
541
|
+
|
|
542
|
+
@typing.final
|
|
543
|
+
class HttpStreamContent(winrt.system.Object, windows_foundation.IStringable, IHttpContent, windows_foundation.IClosable):
|
|
544
|
+
def __enter__(self: Self) -> Self: ...
|
|
545
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
546
|
+
def __str__(self) -> str: ...
|
|
547
|
+
def __new__(cls: typing.Type[Self], content: windows_storage_streams.IInputStream) -> Self: ...
|
|
548
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt64,System.UInt64> Windows.Web.Http.HttpStreamContent::BufferAllAsync()
|
|
549
|
+
def buffer_all_async(self) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt64, winrt.system.UInt64]: ...
|
|
550
|
+
# System.Void Windows.Web.Http.HttpStreamContent::Close()
|
|
551
|
+
def close(self) -> None: ...
|
|
552
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IBuffer,System.UInt64> Windows.Web.Http.HttpStreamContent::ReadAsBufferAsync()
|
|
553
|
+
def read_as_buffer_async(self) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.Buffer, winrt.system.UInt64]: ...
|
|
554
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IInputStream,System.UInt64> Windows.Web.Http.HttpStreamContent::ReadAsInputStreamAsync()
|
|
555
|
+
def read_as_input_stream_async(self) -> windows_foundation.IAsyncOperationWithProgress[windows_storage_streams.IInputStream, winrt.system.UInt64]: ...
|
|
556
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.String,System.UInt64> Windows.Web.Http.HttpStreamContent::ReadAsStringAsync()
|
|
557
|
+
def read_as_string_async(self) -> windows_foundation.IAsyncOperationWithProgress[str, winrt.system.UInt64]: ...
|
|
558
|
+
# System.String Windows.Web.Http.HttpStreamContent::ToString()
|
|
559
|
+
def to_string(self) -> str: ...
|
|
560
|
+
# System.Boolean Windows.Web.Http.HttpStreamContent::TryComputeLength(System.UInt64&)
|
|
561
|
+
def try_compute_length(self) -> typing.Tuple[bool, winrt.system.UInt64]: ...
|
|
562
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt64,System.UInt64> Windows.Web.Http.HttpStreamContent::WriteToStreamAsync(Windows.Storage.Streams.IOutputStream)
|
|
563
|
+
def write_to_stream_async(self, output_stream: windows_storage_streams.IOutputStream, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt64, winrt.system.UInt64]: ...
|
|
564
|
+
# Windows.Web.Http.Headers.HttpContentHeaderCollection Windows.Web.Http.HttpStreamContent::get_Headers()
|
|
565
|
+
@_property
|
|
566
|
+
def headers(self) -> windows_web_http_headers.HttpContentHeaderCollection: ...
|
|
567
|
+
|
|
568
|
+
@typing.final
|
|
569
|
+
class HttpStringContent(winrt.system.Object, windows_foundation.IStringable, IHttpContent, windows_foundation.IClosable):
|
|
570
|
+
def __enter__(self: Self) -> Self: ...
|
|
571
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
572
|
+
def __str__(self) -> str: ...
|
|
573
|
+
@typing.overload
|
|
574
|
+
def __new__(cls: typing.Type[Self], content: str) -> Self: ...
|
|
575
|
+
@typing.overload
|
|
576
|
+
def __new__(cls: typing.Type[Self], content: str, encoding: windows_storage_streams.UnicodeEncoding) -> Self: ...
|
|
577
|
+
@typing.overload
|
|
578
|
+
def __new__(cls: typing.Type[Self], content: str, encoding: windows_storage_streams.UnicodeEncoding, media_type: str) -> Self: ...
|
|
579
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt64,System.UInt64> Windows.Web.Http.HttpStringContent::BufferAllAsync()
|
|
580
|
+
def buffer_all_async(self) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt64, winrt.system.UInt64]: ...
|
|
581
|
+
# System.Void Windows.Web.Http.HttpStringContent::Close()
|
|
582
|
+
def close(self) -> None: ...
|
|
583
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IBuffer,System.UInt64> Windows.Web.Http.HttpStringContent::ReadAsBufferAsync()
|
|
584
|
+
def read_as_buffer_async(self) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.Buffer, winrt.system.UInt64]: ...
|
|
585
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IInputStream,System.UInt64> Windows.Web.Http.HttpStringContent::ReadAsInputStreamAsync()
|
|
586
|
+
def read_as_input_stream_async(self) -> windows_foundation.IAsyncOperationWithProgress[windows_storage_streams.IInputStream, winrt.system.UInt64]: ...
|
|
587
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.String,System.UInt64> Windows.Web.Http.HttpStringContent::ReadAsStringAsync()
|
|
588
|
+
def read_as_string_async(self) -> windows_foundation.IAsyncOperationWithProgress[str, winrt.system.UInt64]: ...
|
|
589
|
+
# System.String Windows.Web.Http.HttpStringContent::ToString()
|
|
590
|
+
def to_string(self) -> str: ...
|
|
591
|
+
# System.Boolean Windows.Web.Http.HttpStringContent::TryComputeLength(System.UInt64&)
|
|
592
|
+
def try_compute_length(self) -> typing.Tuple[bool, winrt.system.UInt64]: ...
|
|
593
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt64,System.UInt64> Windows.Web.Http.HttpStringContent::WriteToStreamAsync(Windows.Storage.Streams.IOutputStream)
|
|
594
|
+
def write_to_stream_async(self, output_stream: windows_storage_streams.IOutputStream, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt64, winrt.system.UInt64]: ...
|
|
595
|
+
# Windows.Web.Http.Headers.HttpContentHeaderCollection Windows.Web.Http.HttpStringContent::get_Headers()
|
|
596
|
+
@_property
|
|
597
|
+
def headers(self) -> windows_web_http_headers.HttpContentHeaderCollection: ...
|
|
598
|
+
|
|
599
|
+
@typing.final
|
|
600
|
+
class HttpTransportInformation(winrt.system.Object, windows_foundation.IStringable):
|
|
601
|
+
def __str__(self) -> str: ...
|
|
602
|
+
# System.String Windows.Web.Http.HttpTransportInformation::ToString()
|
|
603
|
+
def to_string(self) -> str: ...
|
|
604
|
+
# Windows.Security.Cryptography.Certificates.Certificate Windows.Web.Http.HttpTransportInformation::get_ServerCertificate()
|
|
605
|
+
@_property
|
|
606
|
+
def server_certificate(self) -> windows_security_cryptography_certificates.Certificate: ...
|
|
607
|
+
# Windows.Networking.Sockets.SocketSslErrorSeverity Windows.Web.Http.HttpTransportInformation::get_ServerCertificateErrorSeverity()
|
|
608
|
+
@_property
|
|
609
|
+
def server_certificate_error_severity(self) -> windows_networking_sockets.SocketSslErrorSeverity: ...
|
|
610
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Security.Cryptography.Certificates.ChainValidationResult> Windows.Web.Http.HttpTransportInformation::get_ServerCertificateErrors()
|
|
611
|
+
@_property
|
|
612
|
+
def server_certificate_errors(self) -> typing.Sequence[windows_security_cryptography_certificates.ChainValidationResult]: ...
|
|
613
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Security.Cryptography.Certificates.Certificate> Windows.Web.Http.HttpTransportInformation::get_ServerIntermediateCertificates()
|
|
614
|
+
@_property
|
|
615
|
+
def server_intermediate_certificates(self) -> typing.Sequence[windows_security_cryptography_certificates.Certificate]: ...
|
|
616
|
+
|
|
617
|
+
@typing.final
|
|
618
|
+
class _IHttpContent: ...
|
|
619
|
+
|
|
620
|
+
class IHttpContent(windows_foundation.IClosable, winrt._winrt.IInspectable):
|
|
621
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt64,System.UInt64> Windows.Web.Http.IHttpContent::BufferAllAsync()
|
|
622
|
+
@abstractmethod
|
|
623
|
+
def buffer_all_async(self) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt64, winrt.system.UInt64]: ...
|
|
624
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IBuffer,System.UInt64> Windows.Web.Http.IHttpContent::ReadAsBufferAsync()
|
|
625
|
+
@abstractmethod
|
|
626
|
+
def read_as_buffer_async(self) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.Buffer, winrt.system.UInt64]: ...
|
|
627
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IInputStream,System.UInt64> Windows.Web.Http.IHttpContent::ReadAsInputStreamAsync()
|
|
628
|
+
@abstractmethod
|
|
629
|
+
def read_as_input_stream_async(self) -> windows_foundation.IAsyncOperationWithProgress[windows_storage_streams.IInputStream, winrt.system.UInt64]: ...
|
|
630
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.String,System.UInt64> Windows.Web.Http.IHttpContent::ReadAsStringAsync()
|
|
631
|
+
@abstractmethod
|
|
632
|
+
def read_as_string_async(self) -> windows_foundation.IAsyncOperationWithProgress[str, winrt.system.UInt64]: ...
|
|
633
|
+
# System.Boolean Windows.Web.Http.IHttpContent::TryComputeLength(System.UInt64&)
|
|
634
|
+
@abstractmethod
|
|
635
|
+
def try_compute_length(self) -> typing.Tuple[bool, winrt.system.UInt64]: ...
|
|
636
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt64,System.UInt64> Windows.Web.Http.IHttpContent::WriteToStreamAsync(Windows.Storage.Streams.IOutputStream)
|
|
637
|
+
@abstractmethod
|
|
638
|
+
def write_to_stream_async(self, output_stream: windows_storage_streams.IOutputStream, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt64, winrt.system.UInt64]: ...
|
|
639
|
+
# Windows.Web.Http.Headers.HttpContentHeaderCollection Windows.Web.Http.IHttpContent::get_Headers()
|
|
640
|
+
@_property
|
|
641
|
+
@abstractmethod
|
|
642
|
+
def headers(self) -> windows_web_http_headers.HttpContentHeaderCollection: ...
|
|
643
|
+
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.runtime._internals
|
|
6
|
+
import winrt.system
|
|
7
|
+
from winrt._winrt_windows_web_http import (
|
|
8
|
+
HttpProgress,
|
|
9
|
+
HttpBufferContent,
|
|
10
|
+
HttpClient,
|
|
11
|
+
HttpCookie,
|
|
12
|
+
HttpCookieCollection,
|
|
13
|
+
HttpCookieManager,
|
|
14
|
+
HttpFormUrlEncodedContent,
|
|
15
|
+
HttpGetBufferResult,
|
|
16
|
+
HttpGetInputStreamResult,
|
|
17
|
+
HttpGetStringResult,
|
|
18
|
+
HttpMethod,
|
|
19
|
+
HttpMultipartContent,
|
|
20
|
+
HttpMultipartFormDataContent,
|
|
21
|
+
HttpRequestMessage,
|
|
22
|
+
HttpRequestResult,
|
|
23
|
+
HttpResponseMessage,
|
|
24
|
+
HttpStreamContent,
|
|
25
|
+
HttpStringContent,
|
|
26
|
+
HttpTransportInformation,
|
|
27
|
+
_IHttpContent,
|
|
28
|
+
IHttpContent,
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
__all__ = [
|
|
32
|
+
"HttpCompletionOption",
|
|
33
|
+
"HttpProgressStage",
|
|
34
|
+
"HttpResponseMessageSource",
|
|
35
|
+
"HttpStatusCode",
|
|
36
|
+
"HttpVersion",
|
|
37
|
+
"HttpProgress",
|
|
38
|
+
"HttpBufferContent",
|
|
39
|
+
"HttpClient",
|
|
40
|
+
"HttpCookie",
|
|
41
|
+
"HttpCookieCollection",
|
|
42
|
+
"HttpCookieManager",
|
|
43
|
+
"HttpFormUrlEncodedContent",
|
|
44
|
+
"HttpGetBufferResult",
|
|
45
|
+
"HttpGetInputStreamResult",
|
|
46
|
+
"HttpGetStringResult",
|
|
47
|
+
"HttpMethod",
|
|
48
|
+
"HttpMultipartContent",
|
|
49
|
+
"HttpMultipartFormDataContent",
|
|
50
|
+
"HttpRequestMessage",
|
|
51
|
+
"HttpRequestResult",
|
|
52
|
+
"HttpResponseMessage",
|
|
53
|
+
"HttpStreamContent",
|
|
54
|
+
"HttpStringContent",
|
|
55
|
+
"HttpTransportInformation",
|
|
56
|
+
"IHttpContent",
|
|
57
|
+
]
|
|
58
|
+
|
|
59
|
+
class HttpCompletionOption(enum.IntEnum):
|
|
60
|
+
RESPONSE_CONTENT_READ = 0
|
|
61
|
+
RESPONSE_HEADERS_READ = 1
|
|
62
|
+
|
|
63
|
+
class HttpProgressStage(enum.IntEnum):
|
|
64
|
+
NONE = 0
|
|
65
|
+
DETECTING_PROXY = 10
|
|
66
|
+
RESOLVING_NAME = 20
|
|
67
|
+
CONNECTING_TO_SERVER = 30
|
|
68
|
+
NEGOTIATING_SSL = 40
|
|
69
|
+
SENDING_HEADERS = 50
|
|
70
|
+
SENDING_CONTENT = 60
|
|
71
|
+
WAITING_FOR_RESPONSE = 70
|
|
72
|
+
RECEIVING_HEADERS = 80
|
|
73
|
+
RECEIVING_CONTENT = 90
|
|
74
|
+
|
|
75
|
+
class HttpResponseMessageSource(enum.IntEnum):
|
|
76
|
+
NONE = 0
|
|
77
|
+
CACHE = 1
|
|
78
|
+
NETWORK = 2
|
|
79
|
+
|
|
80
|
+
class HttpStatusCode(enum.IntEnum):
|
|
81
|
+
NONE = 0
|
|
82
|
+
CONTINUE = 100
|
|
83
|
+
SWITCHING_PROTOCOLS = 101
|
|
84
|
+
PROCESSING = 102
|
|
85
|
+
OK = 200
|
|
86
|
+
CREATED = 201
|
|
87
|
+
ACCEPTED = 202
|
|
88
|
+
NON_AUTHORITATIVE_INFORMATION = 203
|
|
89
|
+
NO_CONTENT = 204
|
|
90
|
+
RESET_CONTENT = 205
|
|
91
|
+
PARTIAL_CONTENT = 206
|
|
92
|
+
MULTI_STATUS = 207
|
|
93
|
+
ALREADY_REPORTED = 208
|
|
94
|
+
IM_USED = 226
|
|
95
|
+
MULTIPLE_CHOICES = 300
|
|
96
|
+
MOVED_PERMANENTLY = 301
|
|
97
|
+
FOUND = 302
|
|
98
|
+
SEE_OTHER = 303
|
|
99
|
+
NOT_MODIFIED = 304
|
|
100
|
+
USE_PROXY = 305
|
|
101
|
+
TEMPORARY_REDIRECT = 307
|
|
102
|
+
PERMANENT_REDIRECT = 308
|
|
103
|
+
BAD_REQUEST = 400
|
|
104
|
+
UNAUTHORIZED = 401
|
|
105
|
+
PAYMENT_REQUIRED = 402
|
|
106
|
+
FORBIDDEN = 403
|
|
107
|
+
NOT_FOUND = 404
|
|
108
|
+
METHOD_NOT_ALLOWED = 405
|
|
109
|
+
NOT_ACCEPTABLE = 406
|
|
110
|
+
PROXY_AUTHENTICATION_REQUIRED = 407
|
|
111
|
+
REQUEST_TIMEOUT = 408
|
|
112
|
+
CONFLICT = 409
|
|
113
|
+
GONE = 410
|
|
114
|
+
LENGTH_REQUIRED = 411
|
|
115
|
+
PRECONDITION_FAILED = 412
|
|
116
|
+
REQUEST_ENTITY_TOO_LARGE = 413
|
|
117
|
+
REQUEST_URI_TOO_LONG = 414
|
|
118
|
+
UNSUPPORTED_MEDIA_TYPE = 415
|
|
119
|
+
REQUESTED_RANGE_NOT_SATISFIABLE = 416
|
|
120
|
+
EXPECTATION_FAILED = 417
|
|
121
|
+
UNPROCESSABLE_ENTITY = 422
|
|
122
|
+
LOCKED = 423
|
|
123
|
+
FAILED_DEPENDENCY = 424
|
|
124
|
+
UPGRADE_REQUIRED = 426
|
|
125
|
+
PRECONDITION_REQUIRED = 428
|
|
126
|
+
TOO_MANY_REQUESTS = 429
|
|
127
|
+
REQUEST_HEADER_FIELDS_TOO_LARGE = 431
|
|
128
|
+
INTERNAL_SERVER_ERROR = 500
|
|
129
|
+
NOT_IMPLEMENTED = 501
|
|
130
|
+
BAD_GATEWAY = 502
|
|
131
|
+
SERVICE_UNAVAILABLE = 503
|
|
132
|
+
GATEWAY_TIMEOUT = 504
|
|
133
|
+
HTTP_VERSION_NOT_SUPPORTED = 505
|
|
134
|
+
VARIANT_ALSO_NEGOTIATES = 506
|
|
135
|
+
INSUFFICIENT_STORAGE = 507
|
|
136
|
+
LOOP_DETECTED = 508
|
|
137
|
+
NOT_EXTENDED = 510
|
|
138
|
+
NETWORK_AUTHENTICATION_REQUIRED = 511
|
|
139
|
+
|
|
140
|
+
class HttpVersion(enum.IntEnum):
|
|
141
|
+
NONE = 0
|
|
142
|
+
HTTP10 = 1
|
|
143
|
+
HTTP11 = 2
|
|
144
|
+
HTTP20 = 3
|
|
145
|
+
|
|
146
|
+
winrt.runtime._internals.mixin_sequence(HttpCookieCollection)
|
|
File without changes
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.Web.Http
|
|
3
|
+
Version: 3.2.1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime~=3.2.1.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Networking.Sockets[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Security.Cryptography.Certificates[all]~=3.2.1.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.0; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.Web.Http.Filters[all]~=3.2.1.0; extra == "all"
|
|
23
|
+
Requires-Dist: winrt-Windows.Web.Http.Headers[all]~=3.2.1.0; extra == "all"
|
|
24
|
+
|
|
25
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
26
|
+
|
|
27
|
+
# winrt-Windows.Web.Http
|
|
28
|
+
|
|
29
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Web.Http` namespace.
|
|
30
|
+
|
|
31
|
+
This package provides the `winrt.windows.web.http` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_web_http.cp314-win_arm64.pyd,sha256=uGsrUR_4D_sTCkSTyG_TOvRqbgSc3W16eb58THW_Kx8,632832
|
|
2
|
+
winrt/_winrt_windows_web_http.pyi,sha256=puV4pTl9P3ZRIR9gN6JgVo-b2vfRLRr2lpiQJQcaj5c,48796
|
|
3
|
+
winrt/windows/web/http/__init__.py,sha256=mhYcn3UvAqM-13rtQTb8BhXdFiTyqeRxIJoS08Nr_Mw,3548
|
|
4
|
+
winrt/windows/web/http/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_web_http-3.2.1.dist-info/METADATA,sha256=Lt2QEQWLxaDCJrH_7LchRbhOHbzhDK8a6EoA5Ssy4Ec,1508
|
|
6
|
+
winrt_windows_web_http-3.2.1.dist-info/WHEEL,sha256=bMXkUWfr_3hlaRObp_pv9_U0ksvQo0T0Mwq6lQkXaZc,101
|
|
7
|
+
winrt_windows_web_http-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_web_http-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|