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

Automatic WS server API #12

Open
xaviervia opened this issue Jul 3, 2013 · 1 comment
Open

Automatic WS server API #12

xaviervia opened this issue Jul 3, 2013 · 1 comment
Milestone

Comments

@xaviervia
Copy link
Member

While Websockets are used more oftenly in the context of Web Apps where an HTTP server is already available, node-jstp users will benefit for getting an API for node-jstp to start the HTTP by itself if a port number, and not an HTTP server, is provided.

jstp.listen({
  ws: 8000
});
@xaviervia
Copy link
Member Author

Also: afterwards, the user should be able to get the initialized HTTP server

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

1 participant