PsychicHttp icon indicating copy to clipboard operation
PsychicHttp copied to clipboard

add WebSocket subprotocol support

Open glennsky opened this issue 1 year ago • 0 comments

added _subprotocol member variable to PsychicHandler class

set the websocket subprotocol with setSubprotocol -- i.e. handler.setSubprotocol("can.binary+json.v1") (to talk to python-can-remote)

in PsychicHttpServer.cpp added field supported_subprotocol to httpd_uri_t this field is in esp_http_server.h - but wasn't implemented in PsychicHttp

glennsky avatar Apr 01 '24 04:04 glennsky