diff --git a/modules/web/http/web_server.cpp b/modules/web/http/web_server.cpp index 0b2f2a955..725a725ec 100644 --- a/modules/web/http/web_server.cpp +++ b/modules/web/http/web_server.cpp @@ -14,18 +14,10 @@ WebNode *WebServer::get_web_root() { return _web_root; } -Node *WebServer::get_web_root_bind() { - return _web_root; -} - HTTPSessionManager *WebServer::get_session_manager() { return _session_manager; } -Node *WebServer::get_session_manager_bind() { - return _session_manager; -} - void WebServer::server_handle_request(Ref request) { ERR_FAIL_COND(!_web_root); @@ -150,8 +142,8 @@ void WebServer::_notification(int p_what) { } void WebServer::_bind_methods() { - ClassDB::bind_method(D_METHOD("get_web_root"), &WebServer::get_web_root_bind); - ClassDB::bind_method(D_METHOD("get_session_manager"), &WebServer::get_session_manager_bind); + ClassDB::bind_method(D_METHOD("get_web_root"), &WebServer::get_web_root); + ClassDB::bind_method(D_METHOD("get_session_manager"), &WebServer::get_session_manager); ClassDB::bind_method(D_METHOD("server_handle_request", "request"), &WebServer::server_handle_request); ClassDB::bind_method(D_METHOD("request_write_lock"), &WebServer::request_write_lock); diff --git a/modules/web/http/web_server.h b/modules/web/http/web_server.h index a7f4c3430..c3232115a 100644 --- a/modules/web/http/web_server.h +++ b/modules/web/http/web_server.h @@ -22,10 +22,7 @@ public: bool get_is_running(); WebNode *get_web_root(); - Node *get_web_root_bind(); - HTTPSessionManager *get_session_manager(); - Node *get_session_manager_bind(); void server_handle_request(Ref request);