* 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)
| 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 |
no test coverage detected