Types
Muxer = ref object of RootObj streamHandler*: StreamHandler handler*: Future[void] connection*: Connection
- Source Edit
MuxerConstructor = proc (conn: Connection): Muxer {....gcsafe, closure, ...raises: [].}
- Source Edit
MuxerError = object of LPError
- Source Edit
MuxerHandler = proc (muxer: Muxer): Future[void] {....gcsafe, raises: [].}
- Source Edit
MuxerProvider = object newMuxer*: MuxerConstructor codec*: string
- Source Edit
StreamHandler = proc (conn: Connection): Future[void] {....gcsafe, raises: [].}
- Source Edit
TooManyChannels = object of MuxerError
- Source Edit
Consts
DefaultChanTimeout = (value: 300000000000)
- Source Edit
Procs
proc new(T: typedesc[MuxerProvider]; creator: MuxerConstructor; codec: string): T:type {. ...gcsafe, raises: [].}
- Source Edit
Methods
method getStreams(m: Muxer): seq[Connection] {.base, ...raises: [], tags: [], forbids: [].}
- Source Edit
Templates
template formatItIMPL(it: Muxer): auto
- Source Edit