Types
LPProtocol = ref object of RootObj codecs*: seq[string] handler*: LPProtoHandler ## this handler gets invoked by the protocol negotiator started*: bool
- Source Edit
LPProtoHandler = proc (conn: Connection; proto: string): Future[void] {....gcsafe, raises: [Defect].}
- Source Edit
Procs
func codec(p: LPProtocol): string {....raises: [], tags: [].}
- Source Edit
func codec=(p: LPProtocol; codec: string) {....raises: [], tags: [].}
- Source Edit
Methods
method init(p: LPProtocol) {.base, ...gcsafe, raises: [], tags: [].}
- Source Edit
method start(p: LPProtocol): Future[void] {.base, stackTrace: false, ...gcsafe, raises: [], raises: [], tags: [RootEffect].}
- Source Edit
method stop(p: LPProtocol): Future[void] {.base, stackTrace: false, ...gcsafe, raises: [], raises: [], tags: [RootEffect].}
- Source Edit