mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 17:29:50 +03:00
900 B
900 B
v1.1
- Changed the internal structure to support request handlers on endpoints and generic requests that do not match an endpoint
- websockets, uploads, etc should now create an appropriate handler and attach to an endpoint with the server.on() syntax
- Added PsychicClient to abstract away some of the internals of ESP-IDF sockets + add convenience
- onOpen and onClose callbacks have changed as a result
- Added support for EventSource / SSE
- Added support for multipart file uploads
- changed getParam() to return a PsychicWebParameter in line with ESPAsyncWebserver
- Renamed various classes / files:
- PsychicHttpFileResponse -> PsychicFileResponse
- PsychicHttpServerEndpoint -> PsychicEndpoint
- PsychicHttpServerRequest -> PsychicRequest
- PsychicHttpServerResponse -> PsychicResponse
- PsychicHttpWebsocket.h -> PsychicWebSocket.h
- Websocket => WebSocket