Example #1
0
		public HttpServer (object context = null, int port = Http.DefaultPort, IVM vm = null, Visualizer visualizer = null, bool discoverable = true)
		{
			this.port = port;
			this.visualizer = visualizer ?? new Visualizer (context);
			this.vm = vm ?? (new VM());
			this.broadcaster = discoverable ? new DiscoveryBroadcaster () : null;
		}
Example #2
0
		public HttpServer (object context = null, int port = Http.DefaultPort)
		{
			this.port = port;
			visualizer = new Visualizer (context);
		}