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

Handshake message on connect #214

Open
Sardelka9515 opened this issue Oct 1, 2022 · 4 comments
Open

Handshake message on connect #214

Sardelka9515 opened this issue Oct 1, 2022 · 4 comments

Comments

@Sardelka9515
Copy link

Sardelka9515 commented Oct 1, 2022

It'll be nice to be able to send a handshake message on connect, allowing the server to reject connection or send a HandshakeSucess message back

@jchristn
Copy link
Collaborator

jchristn commented Oct 1, 2022

Is the use case to be able to reject a connection server-side? The library provides such a capability. Please help me understand the goal. Cheers

@Sardelka9515
Copy link
Author

A handshake message on connect will provide ability of custom authentication #117, e.g. username/password validation.
Also the server could use the handshake message to initialize a client.

@Sardelka9515
Copy link
Author

@jchristn
Copy link
Collaborator

jchristn commented Oct 2, 2022

Got it. Thanks for the context. I'd happily take a PR on this if you're up for it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants