test/test_http_pages/test_request_handling.cpp
// Used to run server in separate thread
Used to run server in separate thread
Used to run server in separate thread
void run_server(void* server_arg) {
  ConfigWebServer* server = (ConfigWebServer*) server_arg;
  while(server && server->active()) {
    server->work();
    delay(10);
  }
  vTaskDelete(nullptr);
}
void run_server ( void * server_arg ) { ConfigWebServer * server = ( ConfigWebServer * ) server_arg ; while ( server && server -> active ( ) ) { server -> work ( ) ; delay ( 10 ) ; } vTaskDelete ( nullptr ) ; }
Used to run server in separate thread
Used to run server in separate thread