lsquic

Crystal bindings to LiteSpeed QUIC
0.1.9 released
omarroth/lsquic.cr
21 7 3
Omar Roth

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


lsquic:
  github: omarroth/lsquic.cr
  version: ~> 0.1.9
License MIT
Crystal 0.33.0

Authors

Dependencies 0

Development Dependencies 0

Dependents 1

Last synced .
search fire star recently