How to see ping pong in web socket in iOS

假装没事ソ 提交于 2019-12-02 01:15:16

问题


I am doing websocket between webview in iOS and Socketserver.

But I am unable to watch ping-pong that happens because javascript does not have any call back methods for it.


回答1:


Use Charles Proxy

It has a tab called WebSocket that shows all web socket related conversations including frames such as Ping,Pong and Close.



来源:https://stackoverflow.com/questions/39914968/how-to-see-ping-pong-in-web-socket-in-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!