OptionaldirectionA unique identifier for this stream
OptionalinactivityIf no data is sent or received in this number of ms the stream will be reset and an 'error' event emitted.
OptionalinitialA Logger implementation used to log stream-specific information
OptionalmaxBy default all available bytes are passed to the sendData method of
extending classes, if smaller chunks are required, pass a value here.
OptionalmaxThe maximum number of bytes to store when paused or before a 'message' event handler is added.
If the internal buffer overflows this value the stream will be reset.
OptionalmaxOptionalmaxThe maximum number of bytes to store when the remote end of the stream is applying backpressure, or when it is slow to accept new bytes.
If the internal buffer overflows this value the stream will be reset.
OptionalprotocolThe protocol name for the stream, if it is known
Optionalbody: Uint8ArrayList
The stream direction