Git Product home page Git Product logo

Comments (7)

zt1820057934 avatar zt1820057934 commented on May 22, 2024 2

你好, 应工作需要, 我把此项目后端从node转成Java, 然后改了点其它小的功能, 然后今天突然发现了问题.
java后台版本方便开源出来吗

我知道问题出哪了, 我没搞清楚 token 和 sockId 的关系, 把token当做区分连接的标志了, 这样刷新时, 会把这个连接关掉, 😂, java当中 SocketIOClient.getSessionId() 这才是socketId, 改过来就好了

from ghchat.

aermin avatar aermin commented on May 22, 2024 1

@zt1820057934 你好,下面那个disconnect是清除上次的socket id 哦,以此来保持只有一个端只有一个有效socket id

image

我重验了下 ,ghChat在Safari刷新使用没问题,你可以再试看看

from ghchat.

lcxw avatar lcxw commented on May 22, 2024 1

    你好, 应工作需要, 我把此项目后端从node转成Java, 然后改了点其它小的功能, 然后今天突然发现了问题.
java后台版本方便开源出来吗

from ghchat.

zt1820057934 avatar zt1820057934 commented on May 22, 2024

试下没问题, 我改出来的问题吧。 谢了

from ghchat.

lcxw avatar lcxw commented on May 22, 2024

有没有兴趣贡献以西java后端呢
@zt1820057934

from ghchat.

zt1820057934 avatar zt1820057934 commented on May 22, 2024

有没有兴趣贡献以西java后端呢
@zt1820057934

可以的, 怎么弄?要不给下QQ或什么交流?

from ghchat.

lcxw avatar lcxw commented on May 22, 2024

qq:1554849567 or mailto:[email protected],thanks

from ghchat.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.