Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

send message netty with javascript

Is there any way for sending messages to a netty http server from javascript like a WebSocket object but for Netty long polling ?

like image 206
Robert Bed Avatar asked Oct 11 '22 06:10

Robert Bed


1 Answers

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.

like image 54
Nicholas Avatar answered Oct 16 '22 14:10

Nicholas