Why no custom handshake function? #215

Closed
mokesmokes opened this Issue Jan 29, 2014 · 3 comments

2 participants

@mokesmokes

As we have in socket.io - enable the server to reject the socket based on the original request. Potentially saves app-specific handshake packets, I say +1 for adding this.

@herkyl

+1

@mokesmokes

I believe this is almost closed by #243. The only thing really left to do is for allowRequest to reject the request with a custom message, and not one of the predefined codes, so the client can get an app-specific rejection.

@mokesmokes

Closing, allowRequest does the job.

@mokesmokes mokesmokes closed this Jun 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment