pandemonium_engine/modules/web/http/web_server_middleware.h

22 lines
396 B
C++
Raw Normal View History

#ifndef MIDDLEWARE_H
#define MIDDLEWARE_H
#include "core/string.h"
#include "core/reference.h"
class Request;
2022-06-26 15:00:25 +02:00
class WebServerMiddleware : public Reference {
RCPP_OBJECT(WebServerMiddleware, Reference);
public:
//returnring true means handled, false, means continue
virtual bool on_before_handle_request_main(Request *request);
2022-06-26 15:00:25 +02:00
WebServerMiddleware();
~WebServerMiddleware();
};
2022-06-26 15:00:25 +02:00
#endif