-
-
Notifications
You must be signed in to change notification settings - Fork 476
Open
Labels
featureCode based project improvementCode based project improvement
Description
Hi,
I'm working on a small project with HTTP & WS and I chose Crow for that matter. The only thing is, I'm using a JS library for testing purposes but the WebSocket keeps closing because some headers are not available on the handshake response.
Is there any possibility to add headers to the handshake query's response ?
Otherwise, I've looked a bit into the source code and it shouldn't be too complicated to add something like an "onhandshake" method (like you have "onopen",...) which could allow the user to add the response headers on the handshake response. I would be glad to create a Pull Request with that feature if necessary.
Best regards,
Pierre
Metadata
Metadata
Assignees
Labels
featureCode based project improvementCode based project improvement