protocol-http3 0.0.1
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 +7 -0
- checksums.yaml.gz.sig +0 -0
- data/ext/rakefile.rb +12 -0
- data/ext/ruby-protocol-http3-lock.yml +82 -0
- data/ext/source/Ruby/Protocol/HTTP3/Client.cpp +363 -0
- data/ext/source/Ruby/Protocol/HTTP3/Client.hpp +14 -0
- data/ext/source/Ruby/Protocol/HTTP3/Dispatcher.cpp +257 -0
- data/ext/source/Ruby/Protocol/HTTP3/Dispatcher.hpp +13 -0
- data/ext/source/Ruby/Protocol/HTTP3/Server.cpp +239 -0
- data/ext/source/Ruby/Protocol/HTTP3/Server.hpp +13 -0
- data/ext/source/Ruby/Protocol/HTTP3.cpp +28 -0
- data/ext/source/Ruby/Protocol/HTTP3.hpp +9 -0
- data/ext/source/Ruby/Protocol/QUIC/Bindings.hpp +35 -0
- data/ext/teapot.rb +48 -0
- data/lib/protocol/http3/version.rb +12 -0
- data/lib/protocol/http3.rb +11 -0
- data/license.md +21 -0
- data/readme.md +55 -0
- data/releases.md +3 -0
- data.tar.gz.sig +0 -0
- metadata +129 -0
- metadata.gz.sig +1 -0
data/readme.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Protocol::HTTP3
|
|
2
|
+
|
|
3
|
+
Provides a low-level HTTP/3 protocol implementation using [ngtcp2](https://github.com/ngtcp2/ngtcp2) and [nghttp3](https://github.com/ngtcp2/nghttp3).
|
|
4
|
+
|
|
5
|
+
[](https://github.com/socketry/protocol-http3/actions?workflow=Test)
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- Native HTTP/3 server and dispatcher primitives.
|
|
10
|
+
- Integration with `protocol-quic` sockets, configuration and TLS contexts.
|
|
11
|
+
- Extensible Ruby subclasses for servers and dispatchers.
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
Please see the [project documentation](https://socketry.github.io/protocol-http3/) for more details.
|
|
16
|
+
|
|
17
|
+
## Releases
|
|
18
|
+
|
|
19
|
+
Please see the [project releases](https://socketry.github.io/protocol-http3/releases/index) for all releases.
|
|
20
|
+
|
|
21
|
+
### v0.0.1
|
|
22
|
+
|
|
23
|
+
## Contributing
|
|
24
|
+
|
|
25
|
+
We welcome contributions to this project.
|
|
26
|
+
|
|
27
|
+
1. Fork it.
|
|
28
|
+
2. Create your feature branch (`git checkout -b my-new-feature`).
|
|
29
|
+
3. Commit your changes (`git commit -am 'Add some feature'`).
|
|
30
|
+
4. Push to the branch (`git push origin my-new-feature`).
|
|
31
|
+
5. Create new Pull Request.
|
|
32
|
+
|
|
33
|
+
### Running Tests
|
|
34
|
+
|
|
35
|
+
To run the test suite:
|
|
36
|
+
|
|
37
|
+
``` shell
|
|
38
|
+
bundle exec sus
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Making Releases
|
|
42
|
+
|
|
43
|
+
To make a new release:
|
|
44
|
+
|
|
45
|
+
``` shell
|
|
46
|
+
bundle exec bake gem:release:patch # or minor or major
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Developer Certificate of Origin
|
|
50
|
+
|
|
51
|
+
In order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.
|
|
52
|
+
|
|
53
|
+
### Community Guidelines
|
|
54
|
+
|
|
55
|
+
This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.
|
data/releases.md
ADDED
data.tar.gz.sig
ADDED
|
Binary file
|
metadata
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: protocol-http3
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
plat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
|
|
40
|
+
dependencies:
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: protocol-quic
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: 0.0.5
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: 0.0.5
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: teapot
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - "~>"
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '3.5'
|
|
62
|
+
type: :runtime
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - "~>"
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '3.5'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: rake
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
76
|
+
type: :runtime
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - ">="
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '0'
|
|
83
|
+
executables: []
|
|
84
|
+
extensions:
|
|
85
|
+
- ext/rakefile.rb
|
|
86
|
+
extra_rdoc_files: []
|
|
87
|
+
files:
|
|
88
|
+
- ext/rakefile.rb
|
|
89
|
+
- ext/ruby-protocol-http3-lock.yml
|
|
90
|
+
- ext/source/Ruby/Protocol/HTTP3.cpp
|
|
91
|
+
- ext/source/Ruby/Protocol/HTTP3.hpp
|
|
92
|
+
- ext/source/Ruby/Protocol/HTTP3/Client.cpp
|
|
93
|
+
- ext/source/Ruby/Protocol/HTTP3/Client.hpp
|
|
94
|
+
- ext/source/Ruby/Protocol/HTTP3/Dispatcher.cpp
|
|
95
|
+
- ext/source/Ruby/Protocol/HTTP3/Dispatcher.hpp
|
|
96
|
+
- ext/source/Ruby/Protocol/HTTP3/Server.cpp
|
|
97
|
+
- ext/source/Ruby/Protocol/HTTP3/Server.hpp
|
|
98
|
+
- ext/source/Ruby/Protocol/QUIC/Bindings.hpp
|
|
99
|
+
- ext/teapot.rb
|
|
100
|
+
- lib/protocol/http3.rb
|
|
101
|
+
- lib/protocol/http3/version.rb
|
|
102
|
+
- license.md
|
|
103
|
+
- readme.md
|
|
104
|
+
- releases.md
|
|
105
|
+
homepage: https://github.com/socketry/protocol-http3
|
|
106
|
+
licenses:
|
|
107
|
+
- MIT
|
|
108
|
+
metadata:
|
|
109
|
+
documentation_uri: https://socketry.github.io/protocol-http3/
|
|
110
|
+
source_code_uri: https://github.com/socketry/protocol-http3.git
|
|
111
|
+
funding_uri: https://github.com/sponsors/ioquatix
|
|
112
|
+
rdoc_options: []
|
|
113
|
+
require_paths:
|
|
114
|
+
- lib
|
|
115
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
116
|
+
requirements:
|
|
117
|
+
- - ">="
|
|
118
|
+
- !ruby/object:Gem::Version
|
|
119
|
+
version: '3.3'
|
|
120
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
|
+
requirements:
|
|
122
|
+
- - ">="
|
|
123
|
+
- !ruby/object:Gem::Version
|
|
124
|
+
version: '0'
|
|
125
|
+
requirements: []
|
|
126
|
+
rubygems_version: 4.0.10
|
|
127
|
+
specification_version: 4
|
|
128
|
+
summary: HTTP/3 protocol implementation using ngtcp2 and nghttp3.
|
|
129
|
+
test_files: []
|
metadata.gz.sig
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
�f�t�{7G�GX��e�o�I7���ЦNH�L![���J0��^jfe'���PЃBe����m]��.�4E�6�[!�H(B��:��L��>�z�6���<��-@�$#�;u:�:r�!O�������Xv�� I��u��=�����*xJ;x�aw��*R�(���&�m .�O������yN�c�y?��T���k،g0M�k�E���J��ϐ|%�&+*ˇͰK*��9�h�m8��PJ�8Z��dY���O긕��!�u���ˋ =�d�TӐo�(�������oA�Vgs<W������=�3�d�E�����G�A'�@D�H�����}l��E�b���@��>�b�{,������_xB��K��=p[
|