#ifndef WEB_SERVRER_MIDDLEWARE_H #define WEB_SERVRER_MIDDLEWARE_H #include "core/ustring.h" #include "core/resource.h" class WebServerRequest; class WebServerMiddleware : public Resource { GDCLASS(WebServerMiddleware, Resource); public: //returnring true means handled, false, means continue bool on_before_handle_request_main(Ref request); virtual bool _on_before_handle_request_main(Ref request); WebServerMiddleware(); ~WebServerMiddleware(); protected: static void _bind_methods(); }; #endif