Drivers icon indicating copy to clipboard operation
Drivers copied to clipboard

WebSockets Support?

Open DroneMesh opened this issue 5 years ago • 2 comments

Hi,

First of all great work you have done here.

Would it be possible to use WebSockets with the network interface?

DroneMesh avatar Feb 27 '21 15:02 DroneMesh

Hi @DroneMesh,

thank you for your feedback!

What do you exactly mean by using WebSockets in this context? AFAIK WebSockets are for server-browser communication.

However, anything more than standard HTTP(S) which is implemented right now, would require moving to using PPoS first (see PR https://github.com/pythings/Drivers/pull/5), which reduce compatibility across the MicroPython ecosystem.

Maybe we could create an extended version of the driver to support these features as well.

sarusso avatar Feb 27 '21 19:02 sarusso

I also have similar query. I am trying to establish Webscoker connection using TCP connections. I am unable to do it but. I can get TCP connected but at server side, i am not getting any message. Can you guide how can i do websocket messaging here?

ManishSahu53 avatar Jul 19 '21 18:07 ManishSahu53