Safe Haskell | None |
---|
- 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
- class Prioritised a
- setPriority :: Prioritised a => [a] -> TLS ()
- data CertificateType
Documentation
rehandshake :: TLS ()Source
putBytes :: ByteString -> TLS ()Source
getBytes :: Integer -> TLS ByteStringSource
Settings
Transport | |
|
data Credentials Source
setCredentials :: Credentials -> TLS ()Source
setPriority :: Prioritised a => [a] -> TLS ()Source