metro-socket-0.1.0.1: Socket transport for metro
Safe HaskellNone
LanguageHaskell2010

Metro.UDPServer

Documentation

data UDPServer Source #

Instances

Instances details
Servable UDPServer Source # 
Instance details

Defined in Metro.UDPServer

Associated Types

data ServerConfig UDPServer #

type SID UDPServer #

type STP UDPServer #

type STP UDPServer Source # 
Instance details

Defined in Metro.UDPServer

type SID UDPServer Source # 
Instance details

Defined in Metro.UDPServer

data ServerConfig UDPServer Source # 
Instance details

Defined in Metro.UDPServer

newClient :: (MonadUnliftIO m, Transport tp, Show nid, Eq nid, Hashable nid, Eq k, Hashable k, GetPacketId k rpkt, RecvPacket rpkt) => (TransportConfig UDPSocket -> TransportConfig tp) -> String -> nid -> u -> (rpkt -> m Bool) -> SessionT u nid k rpkt tp m () -> ServerT UDPServer u nid k rpkt tp m (Maybe (NodeEnv1 u nid k rpkt tp)) Source #