Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module provides convenience functions for interfacing tls
.
This module is intended to be imported qualified
, e.g.:
Synopsis
- data TLS
- module Metro.TP.TLSSetting
- tlsConfig :: (Transport tp, TLSParams params) => params -> TransportConfig tp -> TransportConfig TLS
Documentation
Instances
Transport TLS Source # | |
Defined in Metro.TP.TLS data TransportConfig TLS :: Type # newTransport :: TransportConfig TLS -> IO TLS # recvData :: TLS -> Int -> IO ByteString # sendData :: TLS -> ByteString -> IO () # closeTransport :: TLS -> IO () # | |
data TransportConfig TLS Source # | |
Defined in Metro.TP.TLS data TransportConfig TLS where
|
re-export
module Metro.TP.TLSSetting
tlsConfig :: (Transport tp, TLSParams params) => params -> TransportConfig tp -> TransportConfig TLS Source #