kstsca
V2EX  ›  编程

Socket.IO 疑问?如何查看从服务器请求到客户端的数据,走的什么通道,如何查看?以前 ajax 我一般在 firebug 能看到请求数据的集合

  •  
  •   kstsca · Sep 13, 2014 · 4561 views
    This topic created in 4440 days ago, the information mentioned may be changed or developed.
    8 replies  •  2014-09-17 15:05:19 +08:00
    wanjun
    wanjun
    Sep 13, 2014
    1
    走websocket,传输的数据流,这个可能看不到吧,找到交互的js进行断点看看
    maxsec
    maxsec
    Sep 13, 2014
    2
    ws://
    kstsca
    kstsca
    OP
    Sep 13, 2014
    3
    @maxsec 如何操作 求教
    maxsec
    maxsec
    Sep 13, 2014
    4
    @kstsca Try google developer tools' network capture.
    maxsec
    maxsec
    Sep 13, 2014
    5
    in the chrome browser
    meteor
    meteor
    Sep 13, 2014
    6
    Firefox看WebSocket好像没有Chrome方便.
    kstsca
    kstsca
    OP
    Sep 16, 2014
    7
    @meteor 中文乱码 如何解决
    meteor
    meteor
    Sep 17, 2014❤️1
    8
    @kstsca 代码呢?
    我这里没问题
    浏览器中的frame不准的, 因为没有编码.
    发送和服务器接收那边支持中文就可以了.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3792 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 01:05 · PVG 09:05 · LAX 17:05 · JFK 20:05
    ♥ Do have faith in what you're doing.