[英]Java long polling
I wrote a server with node.js but it gives the data when only receiver GET requests. 我用node.js编写了一个服务器,但仅在接收方GET请求时它才提供数据。 I am writing a Java application to work with it.
我正在编写一个Java应用程序来使用它。 But what to use, how to do.
但是要用什么,怎么办。 Can you provide examples or something like I should use?
您能否提供示例或类似的内容?
试试Java的Socket.IO客户端-https: //github.com/Gottox/socket.io-java-client
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.