V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
maruize321
V2EX  ›  程序员

第一次在 vue 中使用 websocket+ProtoBuf 有什么需要注意的吗

  •  
  •   maruize321 · 2019-09-02 11:20:01 +08:00 · 2430 次点击
    这是一个创建于 1670 天前的主题,其中的信息可能已经有所发展或是发生改变。

    求大佬指点

    7 条回复    2019-09-03 07:08:25 +08:00
    yuankui
        1
    yuankui  
       2019-09-02 12:07:11 +08:00   ❤️ 1
    用了再问吧?
    12tall
        2
    12tall  
       2019-09-02 13:58:06 +08:00
    上来一把梭,踩雷了再 Google~[捂脸.jpg]
    LeeSeoung
        3
    LeeSeoung  
       2019-09-02 14:07:36 +08:00
    跟 vue 没什么关系。。一个是开发语言,一个是通信协议,一个是数据描述语音。。
    LeeSeoung
        4
    LeeSeoung  
       2019-09-02 14:07:50 +08:00
    语言,打错字。。
    mikoshu
        5
    mikoshu  
       2019-09-02 15:29:35 +08:00
    感觉这个和 vue 没关系啊 该怎么用就怎么用啊
    linxl
        6
    linxl  
       2019-09-02 15:31:29 +08:00
    ProtoBuf 服务端然后生成客户端 js 代码?
    dcoder
        7
    dcoder  
       2019-09-03 07:08:25 +08:00
    难道不该是 gRPC 配 Protocol Buffer, webSocket 配 JSON?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2752 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 11:58 · PVG 19:58 · LAX 04:58 · JFK 07:58
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.