@@ -183,7 +183,7 @@ async def wait(self):
183183 break
184184
185185 async def emit (self , event , data = None , namespace = None , callback = None ):
186- """Emit a custom event to one or more connected clients .
186+ """Emit a custom event to the server .
187187
188188 :param event: The event name. It can be any string. The event names
189189 ``'connect'``, ``'message'`` and ``'disconnect'`` are
@@ -229,7 +229,7 @@ async def emit(self, event, data=None, namespace=None, callback=None):
229229 packet .EVENT , namespace = namespace , data = [event ] + data , id = id ))
230230
231231 async def send (self , data , namespace = None , callback = None ):
232- """Send a message to one or more connected clients .
232+ """Send a message to the server .
233233
234234 This function emits an event with the name ``'message'``. Use
235235 :func:`emit` to issue custom event names.
@@ -252,7 +252,7 @@ async def send(self, data, namespace=None, callback=None):
252252 callback = callback )
253253
254254 async def call (self , event , data = None , namespace = None , timeout = 60 ):
255- """Emit a custom event to a client and wait for the response.
255+ """Emit a custom event to the server and wait for the response.
256256
257257 This method issues an emit with a callback and waits for the callback
258258 to be invoked before returning. If the callback isn't invoked before
0 commit comments