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

muxer: expose func to create MuxedConn from backing Conn #1609

Merged
merged 1 commit into from
Jun 22, 2022

Conversation

paralin
Copy link
Contributor

@paralin paralin commented Jun 22, 2022

Expose a function to create a MuxedConn from the base type: if a user has a *mp.Multiplex or a *yamux.Session, they should be able to construct the libp2p wrapper without going through the Transport interfaces.

Expose a function to create a MuxedConn from the base type: if a user has
a *mp.Multiplex or a *yamux.Session, they should be able to construct the libp2p
wrapper without going through the Transport interfaces.

Signed-off-by: Christian Stewart <christian@paral.in>
Copy link
Collaborator

@MarcoPolo MarcoPolo left a comment

Choose a reason for hiding this comment

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

Looks good, thank you!

@MarcoPolo MarcoPolo merged commit 3cf611a into libp2p:master Jun 22, 2022
@paralin paralin deleted the expose-mplex-ctor branch June 22, 2022 20:59
MarcoPolo pushed a commit that referenced this pull request Jun 24, 2022
Expose a function to create a MuxedConn from the base type: if a user has
a *mp.Multiplex or a *yamux.Session, they should be able to construct the libp2p
wrapper without going through the Transport interfaces.

Signed-off-by: Christian Stewart <christian@paral.in>
@MarcoPolo MarcoPolo mentioned this pull request Jul 7, 2022
41 tasks
@ajnavarro ajnavarro mentioned this pull request Aug 24, 2022
72 tasks
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.

2 participants