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

Message/events in the plugin when the client is disconnected #262

Open
kitty7c6 opened this issue Jan 30, 2023 · 2 comments
Open

Message/events in the plugin when the client is disconnected #262

kitty7c6 opened this issue Jan 30, 2023 · 2 comments

Comments

@kitty7c6
Copy link

Hello, is it currently planned (or perhaps already implemented) to trigger a message/events in the plugin when the client is disconnected from the broker (http)?
I find issues #106 and #215.
Now I can use LWT and send message from remote client before disconnect, but message from plugin will be more interesting for server solution

@iegomez
Copy link
Owner

iegomez commented Feb 14, 2023

Hi! Sadly it's neither implemented nor planned, but I'd welcome a contribution to support such case if it was general enough.

@zhyang-liu
Copy link

zhyang-liu commented Apr 24, 2024

same question met on postgres backend, and thinking about if there is a way to fix.
if i can fix the problem, i'll try making the codes go public.

it seems like just do save DB in the struct and just open a connection when interface functions such as GetUser is called.

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

No branches or pull requests

3 participants