| 123456789101112131415161718 |
- #pragma once
- #include <WebServer.h>
- // The /audio page and its API.
- //
- // Split out of portal.cpp rather than added to it: the settings page and the
- // recorder have nothing to say to each other, and portal.cpp is already one
- // long self-contained document. The same rule still applies here — the page is
- // one file with no CDN and no external fonts, because in setup mode the phone
- // loading it has no route to the internet.
- namespace audio_portal {
- // Adds the audio routes to the portal's server. Called from
- // portal's registerHandlers() so both modes get the page.
- void registerHandlers(WebServer &server);
- } // namespace audio_portal
|