Closed bhbs closed 2 months ago
Fixes #219
createBidirectionalStream returns not WebTransportReceiveStream but WebTransportBidirectionalStream.
createBidirectionalStream
WebTransportReceiveStream
WebTransportBidirectionalStream
So, We have to pass .readable
.readable
ref: https://developer.mozilla.org/en-US/docs/Web/API/WebTransportBidirectionalStream ref: w3c/webtransport/samples/echo/client.js#72
cargo run --example full
Connect
Open a bidirectional stream
Send data
Thank you for the feedback and the fix :)
Fixes #219
Description
createBidirectionalStream
returns notWebTransportReceiveStream
butWebTransportBidirectionalStream
.So, We have to pass
.readable
ref: https://developer.mozilla.org/en-US/docs/Web/API/WebTransportBidirectionalStream ref: w3c/webtransport/samples/echo/client.js#72
Test
Connect
Open a bidirectional stream
Send data
-> Receive ACK