웹소켓 테스트

1 개요[ | ]

웹소켓 테스트
root@wsl:~# docker run -d -p 8010:8010 --name web-socket-test ksdn117/web-socket-test
a19fe69af52162f14aab6abd3b7a55375a2a14d8065de35c56b3d0ff98394c82
root@wsl:~# wscat --connect ws://localhost:8010
Connected (press CTRL+C to quit)
> hello1
< Server received from client: hello1
> hello2
< Server received from client: hello2
Disconnected (code: 1006, reason: "")
root@wsl:~# docker logs web-socket-test
Server started
Received from client: hello1
Received from client: hello2
root@wsl:~# docker rm -f web-socket-test
web-socket-test

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}