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

Add get_ref and get_mut #1537

Merged
merged 2 commits into from
Sep 4, 2019
Merged

Add get_ref and get_mut #1537

merged 2 commits into from
Sep 4, 2019

Conversation

jonhoo
Copy link
Contributor

@jonhoo jonhoo commented Sep 4, 2019

Motivation

Previously, it was impossible to access the underlying stream through a tokio_tls::TlsStream.

Solution

This patch adds get_ref and get_mut on TlsStream which return references to the underlying stream.

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