revert RequestFunction
This commit is contained in:
@@ -52,7 +52,7 @@ PIHTTPServer::~PIHTTPServer() {
|
||||
}
|
||||
|
||||
|
||||
bool PIHTTPServer::registerPath(const PIString & path, PIHTTP::Method method, PIHTTP::RequestFunction functor) {
|
||||
bool PIHTTPServer::registerPath(const PIString & path, PIHTTP::Method method, RequestFunction functor) {
|
||||
Endpoint ep;
|
||||
if (!ep.create(path)) return false;
|
||||
ep.method = method;
|
||||
@@ -62,7 +62,7 @@ bool PIHTTPServer::registerPath(const PIString & path, PIHTTP::Method method, PI
|
||||
}
|
||||
|
||||
|
||||
void PIHTTPServer::registerUnhandled(PIHTTP::RequestFunction functor) {
|
||||
void PIHTTPServer::registerUnhandled(RequestFunction functor) {
|
||||
unhandled = functor;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user