Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Why no custom handshake function? #215

Closed
mokesmokes opened this Issue · 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.