Closed iangregsondev closed 5 years ago
I don't think that we need any of these decorators.
OnConnect
-> handleConnection
OnDisconnect
-> handleDisconnect
EmitOnSuccess/Fail
-> simply return { event, data }
ConnectedSocket
-> first argument of each @SubscribeMessage
handlerSocketRooms
-> we are staying agnostic while rooms are specific for socket.ioThis thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Current behavior
I was wondering if there is any possibility of integrating with the following library and using the decorators that if offers.
https://github.com/typestack/socket-controllers
Or maybe implementing the decorators, there are some really good decorators that would really help
OnConnect OnDisconnect EmitOnSuccess EmitOnFail ConnectedSocket SocketRooms
To name just a few.
Does the community have the possibility to extend the websocket implemention doing decortators ? Any documentation or an example ?
Thanks