gnutls-0.2: Bindings for GNU libgnutls

Safe HaskellNone
LanguageHaskell98

Network.Protocol.TLS.GNU

Contents

Synopsis

Documentation

data TLS a #

Instances
Monad TLS # 
Instance details

Defined in Network.Protocol.TLS.GNU

Methods

(>>=) :: TLS a -> (a -> TLS b) -> TLS b #

(>>) :: TLS a -> TLS b -> TLS b #

return :: a -> TLS a #

fail :: String -> TLS a #

Functor TLS # 
Instance details

Defined in Network.Protocol.TLS.GNU

Methods

fmap :: (a -> b) -> TLS a -> TLS b #

(<$) :: a -> TLS b -> TLS a #

Applicative TLS # 
Instance details

Defined in Network.Protocol.TLS.GNU

Methods

pure :: a -> TLS a #

(<*>) :: TLS (a -> b) -> TLS a -> TLS b #

liftA2 :: (a -> b -> c) -> TLS a -> TLS b -> TLS c #

(*>) :: TLS a -> TLS b -> TLS b #

(<*) :: TLS a -> TLS b -> TLS a #

MonadIO TLS # 
Instance details

Defined in Network.Protocol.TLS.GNU

Methods

liftIO :: IO a -> TLS a #

MonadError TLS # 
Instance details

Defined in Network.Protocol.TLS.GNU

Associated Types

type ErrorType TLS :: * #

Methods

throwError :: ErrorType TLS -> TLS a #

catchError :: TLS a -> (ErrorType TLS -> TLS a) -> TLS a #

type ErrorType TLS # 
Instance details

Defined in Network.Protocol.TLS.GNU

data Session #

data Error #

Constructors

Error Integer 
Instances
Show Error # 
Instance details

Defined in Network.Protocol.TLS.GNU

Methods

showsPrec :: Int -> Error -> ShowS #

show :: Error -> String #

showList :: [Error] -> ShowS #

runTLS :: Session -> TLS a -> IO (Either Error a) #

Settings