Module

Erl.Ranch

#stopListener

#Options

type Options :: Row Typetype Options = (connection_type :: Maybe ChildType, handshake_timeout :: Maybe Timeout, max_connections :: Maybe IntOrInfinity, num_acceptors :: Maybe PosInt, num_conns_sups :: Maybe PosInt, shutdown :: Maybe Timeout)

#OptionToMaybe

#ListenerRef

data ListenerRef :: forall k. k -> Typedata ListenerRef ref

#HandlerResult

#HandlerFn

#OptionsToErl

class OptionsToErl :: Row Type -> RowList Type -> Constraintclass OptionsToErl r rl  where

Members

Instances

#optionsToErl

optionsToErl :: forall r rl. RowToList r rl => OptionsToErl r rl => Record r -> Foreign

#OptionToErl

class OptionToErl :: Symbol -> Type -> Constraintclass OptionToErl sym option  where

Members

Instances

#ExcludedOptions

type ExcludedOptions :: Row Type -> Row Typetype ExcludedOptions r = (active :: Maybe SocketActive, header :: Maybe NonNegInt, packet :: Maybe SocketPacket, packet_size :: Maybe NonNegInt, recvtclass :: Maybe Boolean, recvtos :: Maybe Boolean, recvttl :: Maybe Boolean, reuseaddr :: Maybe Boolean, show_econnreset :: Maybe Boolean, tclass :: Maybe NonNegInt, ttl :: Maybe NonNegInt | r)

#excludeOptions

#defaultOptions

Modules