boring-http 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,58 @@
1
+ from boring_http.client import Client
2
+ from boring_http.cookies import Cookie, CookieJar
3
+ from boring_http.errors import (
4
+ ConnectError,
5
+ HTTPError,
6
+ ProtocolError,
7
+ RemoteDisconnected,
8
+ StreamRefused,
9
+ StreamResetError,
10
+ TimeoutError,
11
+ TooManyRedirects,
12
+ WebSocketClosed,
13
+ )
14
+ from boring_http.http2 import CHROME, Http2Profile
15
+ from boring_http.http3 import Http3Profile
16
+ from boring_http.message import (
17
+ URL,
18
+ Body,
19
+ Headers,
20
+ HTTPStatusError,
21
+ HTTPVersion,
22
+ Request,
23
+ Response,
24
+ )
25
+ from boring_http.quic.connection import TransportParameters
26
+ from boring_http.quic.packet import QUIC_V1, QUIC_V2
27
+ from boring_http.timing import Timeout
28
+ from boring_http.websocket import WebSocket
29
+
30
+ __all__ = (
31
+ "CHROME",
32
+ "QUIC_V1",
33
+ "QUIC_V2",
34
+ "URL",
35
+ "Body",
36
+ "Client",
37
+ "ConnectError",
38
+ "Cookie",
39
+ "CookieJar",
40
+ "HTTPError",
41
+ "HTTPStatusError",
42
+ "HTTPVersion",
43
+ "Headers",
44
+ "Http2Profile",
45
+ "Http3Profile",
46
+ "ProtocolError",
47
+ "RemoteDisconnected",
48
+ "Request",
49
+ "Response",
50
+ "StreamRefused",
51
+ "StreamResetError",
52
+ "Timeout",
53
+ "TimeoutError",
54
+ "TooManyRedirects",
55
+ "TransportParameters",
56
+ "WebSocket",
57
+ "WebSocketClosed",
58
+ )