Types
InvalidChannelIdError = object of MuxerError
- Source Edit
Mplex = ref object of Muxer channels: array[bool, Table[uint64, LPChannel]] currentId: uint64 inChannTimeout: Duration outChannTimeout: Duration isClosed: bool oid*: Oid maxChannCount: int
- Source Edit
TooManyChannels = object of MuxerError
- Source Edit
Consts
MplexCodec = "/mplex/6.7.0"
- Source Edit
Procs
proc new(M: type Mplex; conn: Connection; inTimeout, outTimeout: Duration = DefaultChanTimeout; maxChannCount: int = MaxChannelCount): Mplex {....raises: [Defect].}
- Source Edit
Templates
template formatItIMPL(it: Mplex): auto
- Source Edit