Skip to content

Expose some functions for async users who accepts the connection themselves#147

Open
RaitoBezarius wants to merge 2 commits intovarlink:masterfrom
RaitoBezarius:master
Open

Expose some functions for async users who accepts the connection themselves#147
RaitoBezarius wants to merge 2 commits intovarlink:masterfrom
RaitoBezarius:master

Conversation

@RaitoBezarius
Copy link

Fixes #146.

The rationale is described in commit messages but it boils down to: it's very hard to accept connections yourselves and reuse these logic.

Users who want to follow the same logic that the library does while
handling socket activation themselves could benefit from having this
function pub.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
End users who are manipulating the stream themselves can benefit from
calling these functions themselves and handling the I/O.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
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.

Make AsyncStream methods public and handle_connection public

1 participant