GithubHelp home page GithubHelp logo

Comments (4)

XhinLiang avatar XhinLiang commented on July 17, 2024

https://github.com/websocket-client/websocket-client/blob/master/bin/wsdump.py

from aiowebsocket.

asyncins avatar asyncins commented on July 17, 2024

https://github.com/websocket-client/websocket-client/blob/master/bin/wsdump.py

你好,XhinLiang。请你描述这段代码的功能作用以及应用场景,以便我更好的理解和解答

from aiowebsocket.

XhinLiang avatar XhinLiang commented on July 17, 2024

wsdump.py 是一个简单的命令行 REPL 客户端,用于连接 websocket 服务器。
所有的输入都会原封不动地发给服务器。
服务器的所有响应都会写到命令行中。

from aiowebsocket.

asyncins avatar asyncins commented on July 17, 2024

wsdump.py 是一个简单的命令行 REPL 客户端,用于连接 websocket 服务器。
所有的输入都会原封不动地发给服务器。
服务器的所有响应都会写到命令行中。

这个需求理解了。目前没有实现这个功能的计划。不过如果需要的话,你可以在代码中实现,使用 Python 中的 input 将命令行中输入的内容通过 send 方法发送给服务端。

from aiowebsocket.

Related Issues (16)

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.