Skip to content
This repository has been archived by the owner on Sep 10, 2020. It is now read-only.

client/server handlers for connect/disconnect events. #4

Open
wraithgar opened this issue Aug 11, 2015 · 2 comments
Open

client/server handlers for connect/disconnect events. #4

wraithgar opened this issue Aug 11, 2015 · 2 comments

Comments

@wraithgar
Copy link
Contributor

No description provided.

@pdf
Copy link
Contributor

pdf commented Jan 30, 2016

Any thoughts on what this should looks like? I'm going to need to implement this.

@wraithgar
Copy link
Contributor Author

I think I went down this road originally thinking we could extend eventemitter but that proved difficult given the current setup and wouldn't have translated that well to the browser.

The alternative is to namespace the current parameters we send to createServer to be more kwargs based i.e. createServer({options: websocketoptions, listenHandler: listenHandler}). Then we could add connect and disconnect handlers

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

No branches or pull requests

2 participants