public static void Main() { var host = new TinyHttpHost("http://localhost:9999/", new Program()); host.Start(); while (true) ; }
public SpyEngine(string baseUri, Func<object, string> jsonSerializer, IEnumerable<ISpyableProvider> providers) { _providers = providers.ToArray(); _tinyHttpHost = new TinyHttpHost(baseUri, new SpyRequestProcessor(this)); _eventWaitHandle = new AutoResetEvent(false); JsonSerializer = jsonSerializer; BuildSpyableObjects(); }
public static void Main() { var host = new TinyHttpHost("http://localhost:9999/", new Program()); host.Start(); while (true) { ; } }