session.createBidirectionalStream([options])
-
options
<Object>-
body
<ArrayBuffer> | <ArrayBufferView> | <Blob> -
sendOrder
<number>
-
-
返回:quic.QuicStream 的 <Promise>
¥Returns: <Promise> for a quic.QuicStream
打开一个新的双向流。如果未指定 body
选项,则传出流将半关闭。
¥Open a new bidirectional stream. If the body
option is not specified,
the outgoing stream will be half-closed.