mirror of
https://github.com/KevinMidboe/delugeClient.git
synced 2025-10-28 19:40:12 +00:00
Change text of response message.
This commit is contained in:
@@ -7,7 +7,7 @@ async def hello(websocket, path):
|
||||
name = await websocket.recv()
|
||||
print(f"< {name}")
|
||||
|
||||
greeting = f"Hello {name}, welcome to the world websockets!"
|
||||
greeting = f"Hello {name}, welcome to the world of websockets!"
|
||||
|
||||
await websocket.send(greeting)
|
||||
print(f"> {greeting}")
|
||||
|
||||
Reference in New Issue
Block a user