Optional
closeThe stream direction
A unique identifier for this stream
A Logger implementation used to log stream-specific information
Optional
metadataUser specific stream metadata
Optional
sendAfter the stream sink has closed, a limit on how long it takes to send a close-write message to the remote peer.
How long to wait in ms for stream data to be written to the underlying connection when closing the writable end of the stream.