Giter Club home page Giter Club logo

Comments (5)

ideawu avatar ideawu commented on August 22, 2024

应该是你看错了. 请仔细看屏幕和 log.txt, 提供可以帮助你自己的准确信息.

补充, 请加上 seq 参数:

curl -v "http://127.0.0.1:45329/sub?cname=12&seq=1" 

因为响应已经告诉你了:

{"type":"next_seq","cname":"a","seq":1,"content":""}

from icomet.

baadf avatar baadf commented on August 22, 2024

seq=1可以发送和推送, seq表示什么意思?

from icomet.

ideawu avatar ideawu commented on August 22, 2024

是客户端想要收到的下一条消息的序号, 参见wiki https://github.com/ideawu/icomet/wiki#subscribe-to-a-channel

from icomet.

baadf avatar baadf commented on August 22, 2024

seq初始值为0,怎么获取最新的一条数据

from icomet.

ideawu avatar ideawu commented on August 22, 2024

根据返回 next_seq, 再次订阅.

from icomet.

Related Issues (20)

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.