rcpp_framework/core/http/handler_instance.cpp

13 lines
308 B
C++

#include "handler_instance.h"
#include "request.h"
#include "core/object.h"
HandlerInstance::HandlerInstance() {
instance = nullptr;
}
HandlerInstance::HandlerInstance(std::function<void(Object *, Request *)> p_handler_func, Object *p_instance) {
handler_func = p_handler_func;
instance = p_instance;
}