argo
argo copied to clipboard
How do I get notifications sent by websocket?
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.