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

Question: Is there any way to use secure web socket protocol? #24

Open
theweinzierl opened this issue Jun 14, 2021 · 2 comments
Open

Question: Is there any way to use secure web socket protocol? #24

theweinzierl opened this issue Jun 14, 2021 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@theweinzierl
Copy link

Hi guys,

great work so far! Lately I was wondering if there is any chance to configure a server with secure web socket protocol?

Thanks a lot!

@theweinzierl
Copy link
Author

theweinzierl commented Jun 15, 2021

for anyone interested in this issue. I imported the serverTLS function from the http-module in deps.ts and ./lib/websocket.ts and I am calling serveTLS() instead of serve() with adequate httpsOptions in the connect-function of websocket.ts. It worked fine for me so far.

@michael-spengler
Copy link

@theweinzierl: It would be great if your enhancement could be added to this module.

@ryo-ma ryo-ma reopened this Aug 19, 2021
@ryo-ma ryo-ma added enhancement New feature or request help wanted Extra attention is needed labels Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants