FunctionRequestHandler¶
詳細情報¶
メンバー¶
FunctionRequestHandler()¶
FunctionRequestHandler::FunctionRequestHandler(WebServer::THandlerFunction fn, WebServer::THandlerFunction ufn, const String &uri, HTTPMethod method)
引数
- WebServer::THandlerFunction
fn
- WebServer::THandlerFunction
ufn
- constString &
uri
- HTTPMethod
method
canHandle()¶
bool FunctionRequestHandler::canHandle(HTTPMethod requestMethod, String requestUri) override
引数
- HTTPMethod
requestMethod
- String
requestUri
戻り値
bool
canUpload()¶
bool FunctionRequestHandler::canUpload(String requestUri) override
引数
- String
requestUri
戻り値
bool
handle()¶
bool FunctionRequestHandler::handle(WebServer &server, HTTPMethod requestMethod, String requestUri) override
引数
- WebServer&
server
- HTTPMethod
requestMethod
- String
requestUri
戻り値
bool
upload()¶
void FunctionRequestHandler::upload(WebServer &server, String requestUri, HTTPUpload &upload) override
引数
- WebServer&
server
- String
requestUri
- HTTPUpload&
upload