Firmware  0.9.0
Loading...
Searching...
No Matches
HTTP

The HTTP module contains the implementation of the web server. This web server is accessible in both access point and station modes.

Server

The server provides a whole range of different regular and websocket endpoints.

Regular endpoints

  • /dcc/
    • GET
    • POST
  • /dcc/locos/
    • DELETE
    • GET
    • PUT
  • /dcc/turnouts/
    • DELETE
    • GET
    • PUT
  • /settings/
    • GET
    • POST
  • /sys/
    • GET
  • /*
    • GET
Todo
Write proper regular endpoint docs

Websockets

  • /ota
    • GET
  • /roco/z21
    • GET
  • /zimo/decup/zpp
    • GET
  • /zimo/decup/zsu
    • GET
  • /zimo/mdu/zpp
    • GET
  • /zimo/mdu/zsu
    • GET
  • /zimo/zusi
    • GET
Todo
Write proper websocket endpoint docs

Endpoints class

The Endpoints class allows you to set up subscriptions to different endpoints. For such a subscription, the request type and endpoint name must be specified. Furthermore, a distinction is made between synchronous (HTTP) and asynchronous (WebSocket) connections.

Both subscription types are stored in a std::map with a custom key comparator.

Previous Next
DNS mDNS