async-http 0.96.0 → 0.97.0
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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/async/http/protocol/http.rb +6 -0
- data/lib/async/http/version.rb +1 -1
- data/readme.md +4 -4
- data/releases.md +4 -0
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2b9936f6d932f814e9a246539842cf10c3499d5acb03d59636b4b4bdf863f7e1
|
|
4
|
+
data.tar.gz: 7d8f3b4eaf4a8921c4a2ed9a106e9e80242f86fc3c67d22567934a4c09c2dc2f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2e4adbf9c8e880e20e85e378ff223d1b6ef9bd383b9c66f6414e83db804fdd05c5c2d07f3c99fbd5563783dff8d5a0276524a93ff400a6372cccb38e8789e094
|
|
7
|
+
data.tar.gz: 5d7cf36f0416d62c3e804955b0b7e3ee1620241d92a62711a27b6843141ef492e588fa52e942fc6fc1145b63a8680db759d63f6b7c6ed2f8e9df7736e48f4948
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -26,6 +26,12 @@ module Async
|
|
|
26
26
|
@http2 = http2
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
+
# The names of all supported protocols.
|
|
30
|
+
# @returns [Array(String)] The supported protocol names.
|
|
31
|
+
def names
|
|
32
|
+
(@http2.names + @http1.names).uniq
|
|
33
|
+
end
|
|
34
|
+
|
|
29
35
|
# Determine if the inbound connection is HTTP/1 or HTTP/2.
|
|
30
36
|
#
|
|
31
37
|
# @parameter stream [IO::Stream] The stream to detect the protocol for.
|
data/lib/async/http/version.rb
CHANGED
data/readme.md
CHANGED
|
@@ -16,6 +16,10 @@ Please see the [project documentation](https://socketry.github.io/async-http/) f
|
|
|
16
16
|
|
|
17
17
|
Please see the [project releases](https://socketry.github.io/async-http/releases/index) for all releases.
|
|
18
18
|
|
|
19
|
+
### v0.97.0
|
|
20
|
+
|
|
21
|
+
- Exposed all supported protocol names from the plaintext HTTP protocol negotiator.
|
|
22
|
+
|
|
19
23
|
### v0.96.0
|
|
20
24
|
|
|
21
25
|
- Made `metrics` and `traces` optional runtime dependencies. Applications that use the providers should depend on the corresponding gem and require the provider explicitly.
|
|
@@ -55,10 +59,6 @@ Please see the [project releases](https://socketry.github.io/async-http/releases
|
|
|
55
59
|
|
|
56
60
|
- Move all default trace providers into `traces/provider/async/http`.
|
|
57
61
|
|
|
58
|
-
### v0.90.2
|
|
59
|
-
|
|
60
|
-
- Don't emit `resource:` keyword argument in traces - it's unsupported by OpenTelemetry.
|
|
61
|
-
|
|
62
62
|
## See Also
|
|
63
63
|
|
|
64
64
|
- [benchmark-http](https://github.com/socketry/benchmark-http) — A benchmarking tool to report on web server concurrency.
|
data/releases.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Releases
|
|
2
2
|
|
|
3
|
+
## v0.97.0
|
|
4
|
+
|
|
5
|
+
- Exposed all supported protocol names from the plaintext HTTP protocol negotiator.
|
|
6
|
+
|
|
3
7
|
## v0.96.0
|
|
4
8
|
|
|
5
9
|
- Made `metrics` and `traces` optional runtime dependencies. Applications that use the providers should depend on the corresponding gem and require the provider explicitly.
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|