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

Websocket support #298

Open
IJustDev opened this issue Feb 4, 2021 · 2 comments
Open

Websocket support #298

IJustDev opened this issue Feb 4, 2021 · 2 comments

Comments

@IJustDev
Copy link

IJustDev commented Feb 4, 2021

Hey there, thanks a lot for creating this beautiful project!
I am struggling to get a backend service and a Websocket service running at the same time. Do you think it's possible to introduce a ws:// protocol?

@bahmutov
Copy link
Owner

bahmutov commented Feb 4, 2021 via email

@bhutch29
Copy link

bhutch29 commented Apr 7, 2021

Websocket is tcp, and the wait-on library supports waiting for tcp. I was able to get this working using the syntax tcp:3000 to wait for a websocket on port 3000

start-server-and-test start-websocket tcp:3000 run-tests

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

No branches or pull requests

3 participants