| 
														
															@@ -28,6 +28,7 @@ class Server { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	private readonly routesPath?: string; 
														 | 
														
														 | 
														
															 	private readonly routesPath?: string; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	private readonly viewEngine?: string; 
														 | 
														
														 | 
														
															 	private readonly viewEngine?: string; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	private readonly viewsPath?: string; 
														 | 
														
														 | 
														
															 	private readonly viewsPath?: string; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+	private readonly options?: {[key: string]: any}; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	public constructor(properties: ServerProperties) { 
														 | 
														
														 | 
														
															 	public constructor(properties: ServerProperties) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		this.instance = express(); 
														 | 
														
														 | 
														
															 		this.instance = express(); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -42,6 +43,7 @@ class Server { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		this.routesPath = properties.routesPath; 
														 | 
														
														 | 
														
															 		this.routesPath = properties.routesPath; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		this.viewEngine = properties.viewEngine; 
														 | 
														
														 | 
														
															 		this.viewEngine = properties.viewEngine; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		this.viewsPath = properties.viewsPath; 
														 | 
														
														 | 
														
															 		this.viewsPath = properties.viewsPath; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		this.options = properties.options; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		this.initialized = false; 
														 | 
														
														 | 
														
															 		this.initialized = false; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	} 
														 | 
														
														 | 
														
															 	} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -172,6 +174,10 @@ class Server { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		return this; 
														 | 
														
														 | 
														
															 		return this; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	} 
														 | 
														
														 | 
														
															 	} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+	public getOption(key: string): any { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		return this.options ? this.options[key] || null : null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+	} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	public start(callback?: () => any): void { 
														 | 
														
														 | 
														
															 	public start(callback?: () => any): void { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		if(!this.initialized) 
														 | 
														
														 | 
														
															 		if(!this.initialized) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			throw new ServerNotInitializedException(); 
														 | 
														
														 | 
														
															 			throw new ServerNotInitializedException(); 
														 |