Safe Haskell | None |
---|---|
Language | Haskell98 |
Network.Protocol.TLS.GNU
Contents
Synopsis
- data TLS a
- data Session
- data Error = Error Integer
- runTLS :: Session -> TLS a -> IO (Either Error a)
- runClient :: Transport -> TLS a -> IO (Either Error a)
- getSession :: TLS Session
- handshake :: TLS ()
- rehandshake :: TLS ()
- putBytes :: ByteString -> TLS ()
- getBytes :: Integer -> TLS ByteString
- checkPending :: TLS Integer
- data Transport = Transport {
- transportPush :: ByteString -> IO ()
- transportPull :: Integer -> IO ByteString
- handleTransport :: Handle -> Transport
- data Credentials
- setCredentials :: Credentials -> TLS ()
- certificateCredentials :: TLS Credentials
Documentation
Constructors
Error Integer |
getSession :: TLS Session Source #
rehandshake :: TLS () Source #
checkPending :: TLS Integer Source #
Settings
Constructors
Transport | |
Fields
|
handleTransport :: Handle -> Transport Source #
data Credentials Source #
setCredentials :: Credentials -> TLS () Source #