Adds a socket.ready promise that is resolved when the socket connection has been established.
Adds an optional reason argument to socket.close() that is to be forwarded on to the underlying ReadableStream and WritableStream when they are canceled/aborted.
Adds a
socket.ready
promise that is resolved when the socket connection has been established.Adds an optional
reason
argument tosocket.close()
that is to be forwarded on to the underlyingReadableStream
andWritableStream
when they are canceled/aborted.