用javascript直接连接到redis?

这是指3年前在Stackoverflow上发布的上一篇文章(使用(客户端)javascript直接连接到Redis?)。 有关如何从Javascript调用redis pub / sub的更新吗? (除了webdis选项,所选答案显示)。 我有一个redis php脚本,能够从PHP订阅,但我无法从Javascript调用并获得响应。 我试过用jquery制作一个ajax get并且它超时了。 任何更新都会有所帮助。</ p>
</ div>

展开原文

原文

This is referring to a previous post made on Stackoverflow asked 3 yrs ago (Connecting directly to Redis with (client side) javascript?). Are there any updates on how to call redis pub/sub from Javascript? (Other than the webdis option the chosen answer showed). I have a redis php script that is able to subscribe from php but I am having trouble calling from Javascript and getting the response. I have tried making a ajax get with jquery and it times out. Any updates would be helpful.

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问