Types
RelayConnection = ref object of Connection conn*: Connection limitDuration*: uint32 limitData*: uint64 dataSent*: uint64
- Source Edit
Procs
proc new(T: typedesc[RelayConnection]; conn: Connection; limitDuration: uint32; limitData: uint64): T:type {....raises: [].}
- Source Edit
Methods
method closeImpl(self: RelayConnection): InternalRaisesFuture[void, void] {. stackTrace: false, ...raises: [], gcsafe, raises: [], raises: [], tags: [RootEffect].}
- Source Edit
method getWrapped(self: RelayConnection): Connection {....raises: [], tags: [].}
- Source Edit
method readOnce(self: RelayConnection; pbytes: pointer; nbytes: int): InternalRaisesFuture[ int, (CancelledError, LPStreamError)] {.stackTrace: false, ...raises: [], gcsafe, raises: [], raises: [], tags: [].}
- Source Edit
method write(self: RelayConnection; msg: seq[byte]): InternalRaisesFuture[void, (CancelledError, LPStreamError)] {.stackTrace: false, ...raises: [], gcsafe, raises: [], raises: [], tags: [RootEffect].}
- Source Edit