Is there any way for sending messages to a netty http server from javascript like a WebSocket object but for Netty long polling ?
Yes, it is possible. See this post. I put an example of long polling in a test project called netty-ajax-server. If you browse the source code, you will find the pipeline factory, handler and javascript client implementation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With