-
Notifications
You must be signed in to change notification settings - Fork 4
Description
I want to implement a websocket tunnel to my node js server which is in the cloud.
In my mind it would work like this
esp connects to server ( from intranet to internet )
server serves an http page to the client
client do an http request to the server
server captures every http request sends to esp32 via websocket
esp process websocket data like it was an http request
sends response back via websocket
This is a lot of work and a lot of data ping ponging.
I need some kind of an HTTP tunnel solution where
esp connects to server via http and not close the socket
server forwards every http request to esp
esp gets requets like it was in local
Can it work with this library?
I already have a setup with ESP Async Webserver.
I have setup the HTTP endpoints and it is working in local.
Now i need a server implementation.