Skip to content

Commit edb0994

Browse files
bumped version and updated docs
1 parent aed34e8 commit edb0994

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,14 @@ class YourController(Controller):
7676
}
7777
broadcast.channel(["channel-name"], "event-name", broadcast_data)
7878
```
79+
80+
**Helpers**
81+
82+
List all connected clients:
83+
84+
```python
85+
from socketio_driver.facades import Communicator
86+
87+
communicator.clients() # get list of connected clients
88+
communicator.client(id='client-id') # get client by id, id is basically a socket.io session id
89+
```

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55

66
setup(
77
name="masonite-socketio-driver",
8-
version='2.0.5',
8+
version='2.0.6',
99
packages=[
1010
"socketio_driver",
11+
"socketio_driver.models",
1112
"socketio_driver.config",
1213
"socketio_driver.drivers",
1314
"socketio_driver.providers"
@@ -29,7 +30,7 @@
2930
# 3 - Alpha
3031
# 4 - Beta
3132
# 5 - Production/Stable
32-
"Development Status :: 3 - Alpha",
33+
"Development Status :: 5 - Production/Stable",
3334
# Indicate who your project is intended for
3435
"Intended Audience :: Developers",
3536
"Environment :: Web Environment",

0 commit comments

Comments
 (0)