Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the "emit" feature from the client to the server. #161

Closed
enayatinfo opened this issue Apr 18, 2024 · 1 comment
Closed

Adding the "emit" feature from the client to the server. #161

enayatinfo opened this issue Apr 18, 2024 · 1 comment
Assignees

Comments

@enayatinfo
Copy link

Hello!
Thank you for your amazing package.
Currently, this package operates events to be sent only from the server to the client.
Do you have any plans to implement a feature that enables sending events from the client to the server?

Currently, I receive messages on the backend using an event listener on MessageReceived event. However, this approach increases resource consumption because it rechecks all sent events on the event listener.
By adding PrivateMessageReceived and PresenceMessageReceived events to the package we can validate sent messages more efficiently.

For now, I need to receive events from private channels in backend, and user authentication isn't available. That's why I'm currently studying the source code of this package to find an optimal solution.

@joedixon
Copy link
Collaborator

Hey @enayatinfo we don't currently have plans for that as it's only really possible if you have Reverb running alongside your application and not if you are running a seperate server just for WebScokets which is pretty common.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants