| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
SecondTransfer.MainLoop
Contents
- _nonce :: ()
- tlsServeWithALPN :: forall ctx session. TLSContext ctx session => Proxy ctx -> ConnectionCallbacks -> ByteString -> ByteString -> String -> NamedAttendants -> Int -> IO ()
Documentation
_nonce :: ()
High level OpenSSL functions.
Use these functions to create your TLS-compliant HTTP/2 server in a snap.
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.