pikhovkin/simple-websocket-server

How do I run self.send_message() from outside the server class?

MrBruz opened this issue · 2 comments

I want to be able to send messages from a separate function outside of the server class. How can I run "self.send_message()" to get this working then?

What for? The simple_websocket_server.WebSocket is not a websocket client.

Sorry dude wrong project, I meant websocket client