Maximum default data length in single Request for this connection
ProtectedqueueProtectedreadyReadonlystreamwrapped I/O stream
Default timeout for this connection
StaticdefaultReturns true if the connection is ready for writing.
Detaches streams. Emits ConnectionEvents.close
Rest...args: Parameters<ConnectionEvents[U]>ProtectedgetProtectedlistenerPipes 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.
ProtectedsendOptionalskipError: SkipErrorsProtectedwaitOptionalskipErrors: SkipErrors
Wrapper for I/O stream using Request for out and Packet to in