protocol-http2 0.9.5 → 0.9.6
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
- data/README.md +1 -1
- data/examples/http2/request.rb +1 -1
- data/examples/http2/requests.rb +1 -1
- data/lib/protocol/http2/data_frame.rb +1 -1
- data/lib/protocol/http2/headers_frame.rb +2 -2
- data/lib/protocol/http2/push_promise_frame.rb +2 -2
- data/lib/protocol/http2/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23781c139f7719fc005365aac0ee2ecd42d6c41bfdc6e767aa9e4186a19403f7
|
4
|
+
data.tar.gz: 58599d2e3582d74683978a4f2b9d247a0f98c42b157819f8458274cbf990cb12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe138b271b02c48c379ffc486445671948991b31d0b29f60be6b22c043d7fe149759f7c520565182c6ffac36c74a3f3171d4304963fd1921dcfbb26663cdb8fb
|
7
|
+
data.tar.gz: 42eb638798538ca4193af2df8fa4998e3070684f0f8157222d273c48bf8c45d1276ac11b844940344d3c1c0ef6bc6aac306efc37bd7da939d4c3d11fe3f29a9f
|
data/README.md
CHANGED
data/examples/http2/request.rb
CHANGED
data/examples/http2/requests.rb
CHANGED
@@ -63,7 +63,7 @@ module Protocol
|
|
63
63
|
return priority, data
|
64
64
|
end
|
65
65
|
|
66
|
-
def pack(priority, data, *
|
66
|
+
def pack(priority, data, *arguments, **options)
|
67
67
|
buffer = String.new.b
|
68
68
|
|
69
69
|
if priority
|
@@ -72,7 +72,7 @@ module Protocol
|
|
72
72
|
|
73
73
|
buffer << data
|
74
74
|
|
75
|
-
super(buffer, *
|
75
|
+
super(buffer, *arguments, **options)
|
76
76
|
end
|
77
77
|
|
78
78
|
def apply(connection)
|
@@ -50,8 +50,8 @@ module Protocol
|
|
50
50
|
return stream_id, data.byteslice(4, data.bytesize - 4)
|
51
51
|
end
|
52
52
|
|
53
|
-
def pack(stream_id, data, *
|
54
|
-
super([stream_id].pack(FORMAT) + data, *
|
53
|
+
def pack(stream_id, data, *arguments, **options)
|
54
|
+
super([stream_id].pack(FORMAT) + data, *arguments, **options)
|
55
55
|
end
|
56
56
|
|
57
57
|
def apply(connection)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protocol-http2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: protocol-hpack
|
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
152
|
- !ruby/object:Gem::Version
|
153
153
|
version: '0'
|
154
154
|
requirements: []
|
155
|
-
rubygems_version: 3.0.
|
155
|
+
rubygems_version: 3.0.4
|
156
156
|
signing_key:
|
157
157
|
specification_version: 4
|
158
158
|
summary: A low level implementation of the HTTP/2 protocol.
|