FastLED 3.9.15
Loading...
Searching...
No Matches

◆ route()

void fl::asio::http::Server::route ( const string & method,
const string & path,
RouteHandler handler )

Register route handler using fl::function.

Parameters
methodHTTP method ("GET", "POST", "PUT", "DELETE")
pathURL path ("/", "/api/status", etc.)
handlerRoute handler function (fl::function)

Definition at line 975 of file server.cpp.hpp.

975{}

Referenced by operator=().

+ Here is the caller graph for this function: