Replies: 1 comment 2 replies
-
Try registering the namespace before you initialize the extension. If that does not help, then please create a runnable version of your application demonstrating the problem so that I can debug this further. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I used the class namespace-based method to register a handle to the event, and I encountered the following problem when using it
After starting the server first, and then accessing from the web page, I saw from the server logs that the message had arrived at the server, but its corresponding handler was not triggered, and after I restarted the server, I was able to trigger the handler corresponding to the event, and once I refreshed the webpage and re-established the websocket connection, server could not trigger the handler, which has been bothering me for several days
Code snippets
Some logs
The logs that are properly handled are as follows
The following is a log where the handler was not triggered
Beta Was this translation helpful? Give feedback.
All reactions