Skip to content
Sections
>> Trisquel >> Paket >> aramo >> web >> websocketd
nabia  ] [  aramo  ]
[ Källkod: websocketd  ]

Paket: websocketd (0.4.1-1)

Turn any program that uses STDIN/STDOUT into a WebSocket server

websocketd is a small command-line tool that will wrap an existing command-line interface program, and allow it to be accessed via a WebSocket.

WebSocket-capable applications can now be built very easily. As long as you can write an executable program that reads STDIN and writes to STDOUT, you can build a WebSocket server. Do it in Python, Ruby, Perl, Bash, C, Go, PHP, Java, Clojure, Scala, Groovy, Expect, Awk, VBScript, Haskell, Lua, R, whatever! No networking libraries necessary.

websocketd will start a WebSocket server on a specified port, and listen for connections.

Upon a connection, it will fork the appropriate process, and disconnect the process when the WebSocket connection closes (and vice-versa).

Any message sent from the WebSocket client will be piped to the process's STDIN stream, followed by a \n newline.

Andra paket besläktade med websocketd

  • beror
  • rekommenderar
  • föreslår
  • dep: libc6 (>= 2.32)
    GNU C Library: Shared libraries
    också ett virtuellt paket som tillhandahålls av libc6-udeb

Hämta websocketd

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
amd64 1.725,1 kbyte5568 kbyte [filförteckning]
arm64 1.476,2 kbyte5100 kbyte [filförteckning]
armhf 1.502,6 kbyte4680 kbyte [filförteckning]
ppc64el 1.440,5 kbyte5163 kbyte [filförteckning]