Skip to content

Commit 78b222d

Browse files
authored
Merge pull request Pithikos#25 from nlohmann/patch-2
added syntax highlighting
2 parents 5109bef + 72cd19b commit 78b222d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ The client passed to the callback is the client that left, sent the message, etc
8181

8282

8383
Example:
84-
````
84+
````py
8585
import logging
8686
from websocket_server import WebsocketServer
8787

@@ -97,10 +97,10 @@ server.run_forever()
9797

9898
Client is just a dictionary passed along methods.
9999

100-
````
100+
```py
101101
{
102102
'id' : client_id,
103103
'handler' : client_handler,
104104
'address' : (addr, port)
105105
}
106-
````
106+
```

0 commit comments

Comments
 (0)