createBidirectionalStream

The createBidirectionalStream() method of the WebTransport interface asynchronously opens and returns a bidirectional stream.

MDN Reference