MCPcopy Index your code
hub / github.com/nodejs/node / createBidirectionalStream

Method createBidirectionalStream

lib/internal/quic/quic.js:3320–3323  ·  view source on GitHub ↗

* Creates a new bidirectional stream on this session. If the session * does not allow new streams to be opened, an error will be thrown. * @param {OpenStreamOptions} [options] * @returns {Promise }

(options = kEmptyObject)

Source from the content-addressed store, hash-verified

3318 * @returns {Promise<QuicStream>}
3319 */
3320 async createBidirectionalStream(options = kEmptyObject) {
3321 assertIsQuicSession(this);
3322 return await this.#createStream(kStreamDirectionBidirectional, options);
3323 }
3324
3325 /**
3326 * Creates a new unidirectional stream on this session. If the session

Calls 1

#createStreamMethod · 0.95

Tested by

no test coverage detected