6

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

Rndm
  • 6,710
  • 7
  • 39
  • 58
Robert Bed
  • 233
  • 1
  • 3
  • 9

1 Answers1

4

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.

Community
  • 1
  • 1
Nicholas
  • 15,916
  • 4
  • 42
  • 66