Sign inSign up

irunikail/websocket_server

By irunikail

•Updated over 8 years ago

Simple Echo Back WebSocket Server

Image
0

842

irunikail/websocket_server repository overview

Run the docker image docker run -p 8081:9090 irunikail/websocket_server

Use the following commands in the browser console to connect to the server var ws = new WebSocket("ws://localhost:8081/websocket"); ws.onmessage = function(frame) {console.log(frame.data)}; ws.send("hi websocket");

Tag summary

Content type

Image

Digest

Size

229.5 MB

Last updated

over 8 years ago

docker pull irunikail/websocket_server