dahdit-network-0.5.2: Network protocol helpers for Dahdit
Safe HaskellSafe-Inferred
LanguageGHC2021

Dahdit.Network

Documentation

newtype Decoder k Source #

Constructors

Decoder 

Fields

Instances

Instances details
Functor Decoder Source # 
Instance details

Defined in Dahdit.Network

Methods

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

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

newtype Encoder k Source #

Constructors

Encoder 

Fields

runEncoder :: Binary a => Encoder k -> k -> a -> IO () Source #

data Conn k Source #

Constructors

Conn 

data HostPort Source #

Constructors

HostPort 

Fields

Instances

Instances details
Show HostPort Source # 
Instance details

Defined in Dahdit.Network

Eq HostPort Source # 
Instance details

Defined in Dahdit.Network

Ord HostPort Source # 
Instance details

Defined in Dahdit.Network

newtype TcpOpts Source #

Constructors

TcpOpts 

Fields

Instances

Instances details
Show TcpOpts Source # 
Instance details

Defined in Dahdit.Network

Eq TcpOpts Source # 
Instance details

Defined in Dahdit.Network

Methods

(==) :: TcpOpts -> TcpOpts -> Bool #

(/=) :: TcpOpts -> TcpOpts -> Bool #

Ord TcpOpts Source # 
Instance details

Defined in Dahdit.Network