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): Future[void] {.stackTrace: false, ...gcsafe, raises: [], raises: [], raises: [], tags: [RootEffect].}
- Source Edit
method getWrapped(self: RelayConnection): Connection {....raises: [], tags: [].}
- Source Edit
method readOnce(self: RelayConnection; pbytes: pointer; nbytes: int): Future[int] {. stackTrace: false, ...gcsafe, raises: [], raises: [], raises: [], tags: [RootEffect].}
- Source Edit
method write(self: RelayConnection; msg: seq[byte]): Future[void] {. stackTrace: false, ...gcsafe, raises: [], raises: [], raises: [], tags: [RootEffect].}
- Source Edit