Go to file
Omar Roth 31403055e7 Bump version 2019-11-24 13:37:13 -05:00
spec Initial commit 2019-11-12 20:15:43 -05:00
src Replace IO::FileDescriptor with IO::ChanneledPipe 2019-11-24 13:22:08 -05:00
.editorconfig Initial commit 2019-11-12 20:15:43 -05:00
.gitignore Initial commit 2019-11-12 20:15:43 -05:00
.travis.yml Initial commit 2019-11-12 20:15:43 -05:00
LICENSE Add license 2019-11-15 21:22:36 -05:00
LICENSE.boringssl Add licenses and update README 2019-11-16 14:15:26 -05:00
LICENSE.chrome Add licenses and update README 2019-11-16 14:15:26 -05:00
LICENSE.lsquic Add licenses and update README 2019-11-16 14:15:26 -05:00
README.md Add licenses and update README 2019-11-16 14:15:26 -05:00
shard.yml Bump version 2019-11-24 13:37:13 -05:00

README.md

lsquic

Crystal bindings to the excellent LSQUIC library.

libssl.a, libcrypto.a are both licensed under LICENSE.boringssl.

liblsquic.a is licensed under LICENSE.lsquic and LICENSE.chrome.

This library is available under the MIT license.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      lsquic:
        github: omarroth/lsquic.cr
    
  2. 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

  1. Fork it (https://github.com/omarroth/lsquic.cr/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors