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

How do I get notifications sent by websocket? #11

Open
gaowanliang opened this issue Dec 2, 2020 · 0 comments
Open

How do I get notifications sent by websocket? #11

gaowanliang opened this issue Dec 2, 2020 · 0 comments

Comments

@gaowanliang
Copy link

gaowanliang commented Dec 2, 2020

When I use typescript to connect to aria2 through websocket method, I can receive messages such as aria2.onDownloadStart actively sent by aria2 every time. In golang, my own program can only receive this kind of information once, and then never again. Using this package, I can't even receive such information once.I have filled in the correct value of the notifier parameter. I went to analyze the source code and found that the call.go 180 lines of code to handle this kind of information were found. It seems that there is no problem, but I still can't receive it. If you can, can you write a sample program? Thank you very much.

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

1 participant