-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Github #1745
Copy link
Copy link
Closed
Labels
invalidNot a valid issueNot a valid issue
Description
Describe the feature or problem you'd like to solve
No response
Proposed solution
if conn.is_established() {
// Iterate over readable streams.
for stream_id in conn.readable() {
// Stream is readable, read until there's no more data.
while let Ok((read, fin)) = conn.stream_recv(stream_id, &mut buf) {
println!("Got {} bytes on stream {}", read, stream_id);
}
}
}
Example prompts or workflows
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
invalidNot a valid issueNot a valid issue
Type
Fields
Give feedbackNo fields configured for Feature.