Update README.rst
This commit is contained in:
parent
3d4ce11d38
commit
f26110233b
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ Elegant WebSockets for your Flask apps.
|
|||
|
||||
@sockets.route('/echo')
|
||||
def echo_socket(ws):
|
||||
while True:
|
||||
while not ws.closed:
|
||||
message = ws.receive()
|
||||
ws.send(message)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue