second-transfer alternatives and similar packages
Based on the "Networking" category.
Alternatively, view second-transfer alternatives based on common mentions on social networks and blogs.
-
snap-core
Core type definitions (Snap monad, HTTP types, etc) and utilities for web handlers. -
websockets
A Haskell library for creating WebSocket-capable servers -
snap-server
A fast HTTP server library, which runs Snap web handlers. -
call-haskell-from-anything
Call Haskell functions from any programming language via serialization and dynamic libraries -
PortFusion
Haskell-powered cross-platform transport-layer distributed reverse / forward proxy & tunneling solution – currently available for all TCP protocols (RDP, VNC, HTTP(S), SSH, ...). -
glirc
Haskell IRC library and console client - Join us on libera.chat #glirc -
io-streams
Simple, composable, and easy-to-use stream I/O for Haskell -
network-transport-zeromq
ZeroMQ transport for distributed-process (aka Cloud Haskell) -
HaskellNet
Haskell library which provides client support for POP3, SMTP, and IMAP protocols. -
ngx-export
A comprehensive web framework aimed at building custom Haskell handlers for the Nginx Web Server -
http-streams
Haskell HTTP client library for use with io-streams -
graphula
A simple interface for generating persistent data and linking its dependencies -
http-types
Generic HTTP types for Haskell (for both client and server code) -
secure-sockets
A library for making secure connections between servers. -
network-transport-tcp
TCP Realisation of Network.Transport -
linklater
A Haskell library for the Slack API (including real-time messaging!)
WorkOS - The modern identity platform for B2B SaaS
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of second-transfer or a related project?
README
Developer README
Introduction
This is a library for creating HTTP/2 servers.
To see some introductory docs, please check the Hackage page or the file hs-src/SecondTransfer.hs.
Supported platforms
At the moment, we support both Linux and Mac OS X. We haven't tested the library in Windows, but off the top of my head I can not think on any too Unix specific thing that we are using.
Building and installing
The preferred method of installing SecondTransfer is through Stack.
SecondTransfer uses Botan for its TLS layer, but
the default build disables the library to play nice with Stack's build servers.
Enable it by installing Botan in your preferred location, switching on the flag
enable-botan
(you can do that in your stack.yaml file) and adjusting the necessary
include directories (through extra-include-dirs
and extra-lib-dirs
, also in
stack.yaml).
We use a extensible TLS mechanism, so if you would rather use a recent version
of OpenSSL, look for the typeclass TLSContext
and implement it.
Running the tests
There are two sets of tests: normal Haskell tests and a custom test suite called Suite 1 that requires Stack, Python 3.4+, Redis running in localhost/standard port with DB 3 erasable, and Numpy. To run Suite 1, SecondTransfer should be compiled with the "Monitoring" flag enabled.
Example
There is a very basic example at tests/tests-hs-src/compiling_ok.hs
, and a somewhat more complicated one at
examples/attempt_bust
; that one shows how to do HTTP/2.0 push from the library.
Development
Uploading documentation (provided you have access to the package in Hackage):
$ ./hackage-upload-docs.sh second-transfer 0.5.4.0 <hackage-user> <hackage-password>
Running with instrumentation
Use this:
LD_PRELOAD=/usr/local/lib/shimmercat-build/deps/libasan.so SAN_OPTIONS=verbosity=1:help=true shimmercat devlove