Skip to content

Commit 911cf52

Browse files
authored
fix server/client mixup in client docstrings (#312)
1 parent 71e7d36 commit 911cf52

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/engineio/asyncio_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ async def wait(self):
135135
await self.read_loop_task
136136

137137
async def send(self, data):
138-
"""Send a message to a client.
138+
"""Send a message to the server.
139139
140-
:param data: The data to send to the client. Data can be of type
140+
:param data: The data to send to the server. Data can be of type
141141
``str``, ``bytes``, ``list`` or ``dict``. If a ``list``
142142
or ``dict``, the data will be serialized as JSON.
143143

src/engineio/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,9 @@ def wait(self):
201201
self.read_loop_task.join()
202202

203203
def send(self, data):
204-
"""Send a message to a client.
204+
"""Send a message to the server.
205205
206-
:param data: The data to send to the client. Data can be of type
206+
:param data: The data to send to the server. Data can be of type
207207
``str``, ``bytes``, ``list`` or ``dict``. If a ``list``
208208
or ``dict``, the data will be serialized as JSON.
209209
"""

0 commit comments

Comments
 (0)