mirror of
https://gitea.invidious.io/iv-org/lsquic.cr
synced 2024-08-15 00:43:31 +00:00
No description
|
||
---|---|---|
spec | ||
src | ||
.editorconfig | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
LICENSE.boringssl | ||
LICENSE.chrome | ||
LICENSE.lsquic | ||
README.md | ||
shard.yml |
lsquic
Crystal bindings to the excellent LSQUIC library.
Releases track lsquic's versioning starting with v2.18.1
.
liblsquic.a
is licensed under LICENSE.lsquic
and LICENSE.chrome
.
Lsquic uses boringssl, which is licensed under LICENSE.boringssl
.
This library is available under the MIT license.
Installation
-
Add the dependency to your
shard.yml
:dependencies: lsquic: github: iv-org/lsquic.cr
-
Run
shards install
Usage
require "lsquic"
client = QUIC::Client.new("www.youtube.com")
client.get("/") # => #<HTTP::Client::Response>
client.get("/", headers: HTTP::Headers{
"cookie" => "Some value",
# ...
}) # => #<HTTP::Client::Response>
Contributing
- Fork it (https://github.com/iv-org/lsquic.cr/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Omar Roth - creator and maintainer