long polling netty nio framework java

前端 未结 3 1357
野趣味
野趣味 2021-02-06 00:29

How can I do long-polling using netty framework? Say for example I fetch http://localhost/waitforx

but waitforx is asynchronous because it has

3条回答
  •  故里飘歌
    2021-02-06 01:15

    You can use netty-socketio project. It's implementation of Socket.IO server with long polling support. On web side you can use Socket.IO client javascript lib.

提交回复
热议问题