[英]send message netty with javascript
有没有办法从像WebSocket对象的javascript发送消息到netty http服务器但是对于Netty长轮询?
Yes, it is possible. 对的,这是可能的。 See this post .
看这篇文章 。 I put an example of long polling in a test project called netty-ajax-server .
我在一个名为netty-ajax-server的测试项目中放了一个长轮询示例。 If you browse the source code, you will find the pipeline factory, handler and javascript client implementation.
如果您浏览源代码,您将找到管道工厂,处理程序和javascript客户端实现。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.