Maximum default data length in single Request for this connection
Protected
queueProtected
readyReadonly
streamwrapped I/O stream
Default timeout for this connection
Static
defaultReturns true if the connection is ready for writing.
Detaches streams. Emits ConnectionEvents.close
Rest
...args: Parameters<ConnectionEvents[U]>Protected
getProtected
listenerPipes streams (encoder->stream->decoder) together. Emits ConnectionEvents.open
Decodes the request and sends the raw data to the stream after the previous operation
completes, If the request length
exceeds the maxLength
, the request will be split into
multiple requests and responses will be composed.
If the request is not broadcast, then a successful response to the request is returned. If the response status is not successful or a timeout occurs, an exception is thrown.
Protected
sendOptional
skipError: SkipErrorsProtected
waitOptional
skipErrors: SkipErrors
Wrapper for I/O stream using Request for out and Packet to in