mirror of
https://github.com/KevinMidboe/delugeClient.git
synced 2025-10-29 12:00:13 +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()
|
name = await websocket.recv()
|
||||||
print(f"< {name}")
|
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)
|
await websocket.send(greeting)
|
||||||
print(f"> {greeting}")
|
print(f"> {greeting}")
|
||||||
|
|||||||
Reference in New Issue
Block a user