This commit is contained in:
2024-12-16 16:51:46 +02:00
parent e264956831
commit 96fbfb60e8
16 changed files with 250 additions and 295 deletions
+5 -5
View File
@@ -9,14 +9,14 @@ import helmet from 'helmet';
import { v4 as uuidv4 } from 'uuid';
/**
* The Web Server class, manages all request from the web platform, manages the APIs
* The Web Server class, manages all request from the web platform, manages the APIs, уеб сървър, управлява всички уеб заявки към платформата, агрегира всички комуникационни/гранични класове
*/
class WebServer {
name = 'webServer';
/**
* Initializes the web server plugin
* @param {App} app The application instance
* Initializes the web server plugin, инициализация
* @param {App} app The application instance, апликация
*/
async init(app) {
const xapp = express();
@@ -69,8 +69,8 @@ class WebServer {
}
/**
* Starts the web server plugin
* @param {App} app The application instance
* Starts the web server plugin, стартиране на уеб сървъра
* @param {App} app The application instance, апликация
*/
async start(app) {