/Ace

Simple, effective HTTP/2 server for elixir

Primary LanguageElixirMIT LicenseMIT

Ace

HTTP/2 server and client for Elixir

Want to dive straight in? see Ace.HTTP2.Service or Ace.HTTP2.Client.

Features

  • Consistent server and client interfaces
  • Stream isolation; one process per stream
  • Bidirectional streaming; send and receive streamed data
  • Server push; to reduce latency
  • Automatic flow control; at stream and connection level
  • Secure data transport; TLS(SSL) support via ALPN
  • Verified against h2spec (143/146)
  • Simple request/response interactions; Raxx interface

For more view the features board.

Testing

Run h2spec against the example hello_http2 application.

  1. Start the example app.
cd examples/hello_http2
iex -S mix
  1. Run h2spec from docker
sudo docker run --net="host" summerwind/h2spec --port 8443 -t -k -S