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