gpt4 book ai didi

spring - Stomp.js 已过时且不再维护 - 哪个 Stomp 客户端与 Spring Websockets 一起使用?

转载 作者:IT老高 更新时间:2023-10-28 13:57:22 26 4
gpt4 key购买 nike

我发现 Spring WebSocket Support 的当前文档令人惊讶。指导用户使用 stomp.js用于他们的客户端 JavaScript 实现。

这个项目,在它的 GitHub 页面上的自述文件中说:

This project is no longer maintained.

If you encounter bugs with it or need enhancements, you can fork it and modify it as the project is under the Apache License 2.0.

该存储库自 2015 年 9 月以来没有任何提交(只是将上述内容添加到自述文件中),并且自 2014 年 12 月以来没有任何代码提交,因此在过去 2 年中它实际上已被放弃。

我不确定存储库的 284 个分支中的哪一个会是该库的稳定和最新版本,而且 Google 搜索似乎没有可行的替代方案。

有人可以推荐一个稳定的替代品吗?

理想情况下,我希望 Spring 团队可以就正确的客户端库与他们的 STOMP 支持一起使用提供一些指导。

最佳答案

我也一直在想这个问题,但找不到任何具体的东西。我遇到的最接近的是 webstomp-client:

https://github.com/JSteunou/webstomp-client

它声称是原始 stomp.js 的一个分支,并且它看起来得到了积极的维护。


与问题无关,但与我最近的工作有关,我还发现了一个实现 RxJSwebstomp-client 分支客户也是;发布一些链接以防将来对某人有用。

https://github.com/Clanrat/webstomp-client

https://github.com/Clanrat/webstomp-client/blob/master/src/rxclient.js

关于spring - Stomp.js 已过时且不再维护 - 哪个 Stomp 客户端与 Spring Websockets 一起使用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41119274/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com