second-transfer-0.10.0.4: Second Transfer HTTP/2 web server

Safe HaskellNone
LanguageHaskell2010

SecondTransfer.MainLoop

Contents

Synopsis

Documentation

_nonce :: ()

High level OpenSSL functions.

Use these functions to create your TLS-compliant HTTP/2 server in a snap.

tlsServeWithALPN

Arguments

:: TLSContext ctx session 
=> Proxy ctx

This is a simple proxy type from Typeable that is used to select the type of TLS backend to use during the invocation

-> ConnectionCallbacks

Control and log connections

-> ByteString

String with contents of certificate chain

-> ByteString

String with contents of PKCS #8 key

-> String

Name of the network interface

-> NamedAttendants

List of attendants and their handlers

-> Int

Port to listen for connections

-> IO () 

Convenience function to open a port and listen there for connections and select protocols and so on.