mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-25 13:17:22 +01:00
21 lines
359 B
C++
21 lines
359 B
C++
|
#ifndef MIDDLEWARE_H
|
||
|
#define MIDDLEWARE_H
|
||
|
|
||
|
#include "core/string.h"
|
||
|
|
||
|
#include "core/reference.h"
|
||
|
|
||
|
class Request;
|
||
|
|
||
|
class Middleware : public Reference {
|
||
|
RCPP_OBJECT(Middleware, Reference);
|
||
|
|
||
|
public:
|
||
|
//returnring true means handled, false, means continue
|
||
|
virtual bool on_before_handle_request_main(Request *request);
|
||
|
|
||
|
Middleware();
|
||
|
~Middleware();
|
||
|
};
|
||
|
|
||
|
#endif
|