mirror of https://github.com/vapor/docs.git
Fix typo in web socket readme
This commit is contained in:
parent
7241465e00
commit
b3267809a7
|
|
@ -82,7 +82,7 @@ ws.onText { ws, text in
|
|||
// Send a message.
|
||||
ws.send("Hello, world!")
|
||||
|
||||
// Wait for the Websocket to closre.
|
||||
// Wait for the Websocket to close.
|
||||
try ws.onClose.wait()
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue