happstack-server-6.5.6: Web related tools and services.

Happstack.Server.Internal.TLS

Description

core functions and types for HTTPS support

Synopsis

Documentation

data TLSConf Source

configuration for using https://

Constructors

TLSConf 

data HTTPS Source

record that holds the Socket and SSLContext needed to start the https:// event loop. Used with simpleHTTPWithSocket'

see also: httpOnSocket

Constructors

HTTPS 

httpsOnSocketSource

Arguments

:: FilePath

path to ssl certificate

-> FilePath

path to ssl private key

-> Socket

listening socket (on which listen() has been called, but not accept())

-> IO HTTPS 

generate the HTTPS record needed to start the https:// event loop