Types
Muxer = ref object of RootObj streamHandler*: StreamHandler connection*: Connection
- Source Edit
MuxerConstructor = proc (conn: Connection): Muxer {....gcsafe, closure, ...raises: [Defect].}
- Source Edit
MuxerError = object of LPError
- Source Edit
MuxerHandler = proc (muxer: Muxer): Future[void] {....gcsafe, raises: [Defect].}
- Source Edit
MuxerProvider = ref object of LPProtocol newMuxer*: MuxerConstructor streamHandler*: StreamHandler muxerHandler*: MuxerHandler
- Source Edit
StreamHandler = proc (conn: Connection): Future[void] {....gcsafe, raises: [Defect].}
- Source Edit
Consts
DefaultChanTimeout = (value: 300000000000)
- Source Edit
Procs
proc new(T: typedesc[MuxerProvider]; creator: MuxerConstructor; codec: string): T:type {. ...gcsafe, raises: [Defect].}
- Source Edit
Methods
method close(m: Muxer): Future[void] {.base, ...gcsafe, stackTrace: false, ...gcsafe, raises: [Defect], raises: [Defect], tags: [RootEffect].}
- Source Edit
method handle(m: Muxer): Future[void] {.base, ...gcsafe, stackTrace: false, ...gcsafe, raises: [Defect], raises: [Defect], tags: [RootEffect].}
- Source Edit
method newStream(m: Muxer; name: string = ""; lazy: bool = false): Future[ Connection] {.base, ...gcsafe, stackTrace: false, ...gcsafe, raises: [Defect], raises: [Defect], tags: [RootEffect].}
- Source Edit
Templates
template formatItIMPL(it: Muxer): auto
- Source Edit