[wscat] Update public echo server; add link to gorilla/websocket;
This commit is contained in:
parent
9ab6e227b6
commit
f137c78c9a
1 changed files with 4 additions and 3 deletions
|
@ -17,10 +17,10 @@ wscat принимает на вход единственный аргумент
|
||||||
|
|
||||||
Публичный echo сервер:
|
Публичный echo сервер:
|
||||||
```
|
```
|
||||||
✗ $GOPATH/bin/wscat -addr ws://echo.websocket.org
|
✗ $GOPATH/bin/wscat -addr ws://ws.ifelse.io
|
||||||
abc
|
abc
|
||||||
abcdef
|
abcdef
|
||||||
def^C2020/04/04 05:01:32 received signal interrupt
|
def^C2022/04/13 22:23:42 received signal interrupt
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
✗ echo $?
|
✗ echo $?
|
||||||
|
@ -30,4 +30,5 @@ def^C2020/04/04 05:01:32 received signal interrupt
|
||||||
## Ссылки
|
## Ссылки
|
||||||
|
|
||||||
1. websocket: https://en.wikipedia.org/wiki/WebSocket
|
1. websocket: https://en.wikipedia.org/wiki/WebSocket
|
||||||
2. signal shutdown: https://p.go.manytask.org/06-http/lecture.slide#20
|
2. gorilla/websocket: https://pkg.go.dev/github.com/gorilla/websocket
|
||||||
|
3. signal shutdown: https://p.go.manytask.org/06-http/lecture.slide#20
|
||||||
|
|
Loading…
Reference in a new issue