mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-24 20:57:18 +01:00
27 lines
886 B
C++
27 lines
886 B
C++
|
|
#include "web_server_middleware.h"
|
|
|
|
#include "web_server_request.h"
|
|
|
|
bool WebServerMiddleware::on_before_handle_request_main(Ref<WebServerRequest> request) {
|
|
return call("_on_before_handle_request_main", request);
|
|
}
|
|
|
|
bool WebServerMiddleware::_on_before_handle_request_main(Ref<WebServerRequest> request) {
|
|
return false;
|
|
}
|
|
|
|
WebServerMiddleware::WebServerMiddleware() {
|
|
}
|
|
|
|
WebServerMiddleware::~WebServerMiddleware() {
|
|
}
|
|
|
|
void WebServerMiddleware::_bind_methods() {
|
|
BIND_VMETHOD(MethodInfo("_on_before_handle_request_main", PropertyInfo(Variant::OBJECT, "request", PROPERTY_HINT_RESOURCE_TYPE, "WebServerRequest")));
|
|
|
|
ClassDB::bind_method(D_METHOD("on_before_handle_request_main", "request"), &WebServerMiddleware::on_before_handle_request_main);
|
|
|
|
ClassDB::bind_method(D_METHOD("_on_before_handle_request_main", "request"), &WebServerMiddleware::_on_before_handle_request_main);
|
|
}
|