Lines Matching refs:client
36 Then just open `client.html` in your browser and you should be able to send and receive messages.
67 | clients | A list of `client` |
74 | `set_fn_new_client()` | Sets a callback function that will be called for every new `client`…
75 | `set_fn_client_left()` | Sets a callback function that will be called for every `client` dis…
76 | `set_fn_message_received()` | Sets a callback function that will be called when a `client` sends …
77 … | Sends a `message` to a specific `client`. The message is a simple string. …
85 | `set_fn_new_client()` | Called for every new `client` connecting to us | client, server …
86 | `set_fn_client_left()` | Called for every `client` disconnecting from us | client, server …
87 | `set_fn_message_received()` | Called when a `client` sends a `message` | client, server,…
90 The client passed to the callback is the client that left, sent the message, etc. The server might …
98 def new_client(client, server):
99 server.send_message_to_all("Hey all, a new client has joined us")