RestService.cpp
/**
 * Returns the cached state of the service to the client however this function
 * does not provide proof that the LED controller is in that state.
 */
Returns the cached state of the service to the client however this function
does not provide proof that the LED controller is in that state.
Returns the cached state of the service to the client however this function does not provide proof that the LED controller is in that state .
static void _handle_cached_state(void){
  String message = "IR Controlled LED Strip Web Service\n\n";
  message += "Cached State:\n";
  message += "\traw: " + state.raw + "\n";
  message += "\tbrightness: " + state.brightness + "\n";
  message += "\tpower: " + state.power + "\n";
  message += "\tfunction: " + state.function + "\n";
  message += "\tcolor: " + state.color + "\n";
  message += "\turi: " + state.uri + "\n";
  server.send(200, "text/plain", message);
  state.uri = server.uri();
}
static void _handle_cached_state ( void ) { String message = " \n \n " ; message += " \n " ; message += " \t " + state . raw + " \n " ; message += " \t " + state . brightness + " \n " ; message += " \t " + state . power + " \n " ; message += " \t " + state . function + " \n " ; message += " \t " + state . color + " \n " ; message += " \t " + state . uri + " \n " ; server . send ( 200 , " " , message ) ; state . uri = server . uri ( ) ; }
Returns the cached state of the service to the client however this function
 does not provide proof that the LED controller is in that state.
Returns the cached state of the service to the client however this function does not provide proof that the LED controller is in that state .