Skip to content
New issue

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

refactor(ws client): impl tokio:{AsyncRead, AsyncWrite} for EitherStream #1249

Merged
merged 2 commits into from
Dec 5, 2023

Conversation

niklasad1
Copy link
Member

Simplify the code by implementing tokio::io::{AsyncWrite, AsyncRead} for the EitherStream.

However, we still need the compat because soketto requires futures::io::{AsyncRead, AsyncWrite}

Simplify the code by implementing `tokio::io::{AsyncWrite, AsyncRead}`
for the EitherStream.

However, we still need the compat because soketto requires
futures::io::{AsyncRead, AsyncWrite}
@niklasad1 niklasad1 requested a review from a team as a code owner November 30, 2023 16:41
@niklasad1 niklasad1 mentioned this pull request Dec 4, 2023
8 tasks
Copy link
Collaborator

@jsdw jsdw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice code reduction :)

@niklasad1 niklasad1 merged commit bb5780c into master Dec 5, 2023
11 checks passed
@niklasad1 niklasad1 deleted the ws-client-tokio-asyncread-asyncwrite branch December 5, 2023 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants