Skip to content

Conversation

@akotulu
Copy link
Contributor

@akotulu akotulu commented Sep 2, 2024

Implemented connected callback to be able to send custom 3000-4999 status codes to the client.

@akotulu
Copy link
Contributor Author

akotulu commented Sep 13, 2024

Is there something wrong with the improvement? It has been 2w :)
I can add extra class which generates these custom status codes. Implemented it to support WS events with authentication. If user tries to subscribe to event without valid token, 4000 status code is returned and connection closed.

@walkor walkor merged commit 219e2a1 into walkor:master Sep 17, 2024
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

Successfully merging this pull request may close these issues.

2 participants