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

Handler event on Websocket open? #94

Closed
dreamwieber opened this issue May 24, 2013 · 2 comments
Closed

Handler event on Websocket open? #94

dreamwieber opened this issue May 24, 2013 · 2 comments

Comments

@dreamwieber
Copy link

Is it possible to create a handler that will respond to a new websocket connection being opened by a client? From what I can tell, the handlers seem to fire when the client sends a message. I'd like to be able to send some data to the client as soon as they make an initial connection.

Great library.

@ztellman
Copy link
Collaborator

The handler is invoked when the connection opens. Are you seeing some other
behavior?
On May 24, 2013 4:40 PM, "Gregory Wieber" notifications@github.com wrote:

Is it possible to create a handler that will respond to a new websocket
connection being opened by a client? From what I can tell, the handlers
seem to fire when the client sends a message. I'd like to be able to send
some data to the client as soon as they make an initial connection.

Great library.


Reply to this email directly or view it on GitHubhttps://github.com//issues/94
.

@dreamwieber
Copy link
Author

Thanks -- you're right, this definitely works.

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

2 participants