We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quic-go support ReadAll() for bidirectional stream. Is there any way to achieve this in webtransport-go?
The text was updated successfully, but these errors were encountered:
That's standard library functionality.
Sorry, something went wrong.
Can you help with an example how I can achieve this
Current Implementation: ` stream, err := conn.AcceptStream(conn.Context()) if err != nil { fmt.Println("Session closed, not accepting more bidi streams:", err) break }
for { buf := make([]byte, 1024) n, err := stream.Read(buf) if err != nil { fmt.Printf("Error reading from bidi stream %v\n", err) break } } `
Required: buf, err := stream.ReadAll()
buf, err := stream.ReadAll()
No branches or pull requests
Quic-go support ReadAll() for bidirectional stream. Is there any way to achieve this in webtransport-go?
The text was updated successfully, but these errors were encountered: