FastLED 3.10.8
Loading...
Searching...
No Matches

◆ query()

optional< string > fl::asio::http::Request::query ( const string & param) const

Get query parameter value by name.

Parameters
paramParameter name (e.g., "id" for "/?id=123")
Returns
Parameter value if present, otherwise nullopt

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

1128{ return nullopt; }
constexpr nullopt_t nullopt
Definition optional.h:13

References fl::FL_NO_EXCEPT, and fl::nullopt.