Files
EMS-ESP32/lib/PsychicHttp/CHANGELOG.md
2023-12-25 13:27:02 +01:00

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