-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Bindings for GNU libgnutls
--   
--   You almost certainly don't want to depend on this release.
--   
--   This is a pre-alpha, almost useless release; its only purpose is to
--   enable TLS support in some of my other libraries. More complete
--   bindings for GNU TLS will be released at a later date.
@package gnutls
@version 0.2

module Network.Protocol.TLS.GNU
data TLS a
data Session
data Error
Error :: Integer -> Error
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 :: (ByteString -> IO ()) -> (Integer -> IO ByteString) -> Transport
[transportPush] :: Transport -> ByteString -> IO ()
[transportPull] :: Transport -> Integer -> IO ByteString
handleTransport :: Handle -> Transport
data Credentials
setCredentials :: Credentials -> TLS ()
certificateCredentials :: TLS Credentials
instance GHC.Show.Show Network.Protocol.TLS.GNU.Error
instance GHC.Base.Functor Network.Protocol.TLS.GNU.TLS
instance GHC.Base.Applicative Network.Protocol.TLS.GNU.TLS
instance GHC.Base.Monad Network.Protocol.TLS.GNU.TLS
instance Control.Monad.IO.Class.MonadIO Network.Protocol.TLS.GNU.TLS
instance Control.Monad.Error.Class.MonadError Network.Protocol.TLS.GNU.TLS
