second-transfer: Second Transfer HTTP/2 web server

[ bsd3, library, network ] [ Propose Tags ]

Second Transfer HTTP/2 web server


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.2.0.0, 0.3.0.2, 0.3.0.3, 0.3.0.4, 0.4.0.0, 0.5.0.0, 0.5.2.2, 0.5.3.1, 0.5.3.2, 0.5.4.0, 0.5.5.0, 0.5.5.1, 0.6.0.0, 0.6.1.0, 0.7.1.0, 0.10.0.1, 0.10.0.2, 0.10.0.4
Dependencies base (>=4.7 && <4.8), base16-bytestring (>=0.1.1), binary (==0.7.1.0), bytestring (==0.10.4.0), conduit (>=1.2.4), containers (==0.5.5.1), hashable (>=1.2), hashtables (>=1.2 && <1.3), hslogger (>=1.2.6), http2 (>=0.7), lens (>=4.7 && <4.8), network (==2.6.0.2), network-uri (>=2.6 && <2.7), text (>=1.2 && <1.3), transformers (>=0.3 && <=0.5) [details]
License BSD-3-Clause
Copyright Copyright 2015, Alcides Viamontes Esquivel
Author Alcides Viamontes Esquivel
Maintainer alcidesv@zunzun.se
Category Network
Home page www.zunzun.se
Bug tracker https://github.com/alcidesv/second-transfer/issues
Source repo head: git clone git@github.com:alcidesv/second-transfer.git
this: git clone git@github.com:alcidesv/second-transfer.git(tag 0.1.0.0)
Uploaded by dsign at 2015-04-03T16:03:45Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 10626 total (44 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-04-03 [all 1 reports]

Readme for second-transfer-0.1.0.0

[back to package description]

Developer README

Introduction

This is an early-stage and very experimental library to create HTTP/2 servers using Haskell.

To see the package docs, please check the Hackage page or the file hs-src/SecondTransfer.hs.

Building and installing

You need Haskell GHC compiler installed (version 7.8.3 at least). You also need OpenSSL 1.0.2, since the ALPN feature and some very recent cypher-suites are needed by HTTP/2. In this source distribution, I have set them to live in the directory /opt/openssl-1.0.2, but you should be able to alter the options using cabal configure. This package uses Haskell's foreign function interface to interface with OpenSSL.

Provided that you have all the dependencies, you should be able to just do:

$ cabal install second-transfer

Example

There is a very basic example at tests/tests-hs-src/compiling_ok.hs.

Roadmap

Done:

  • Version 0.1: Having something that can run. No unit-testing, nothing fancy.

Pending:

  • Version 0.2: Have some unit tests. A minimal amount of them