void Start() { if (processRequestsInMainThread) { Application.runInBackground = true; } server = new UniWebServer.WebServer(port, workerThreads, processRequestsInMainThread); server.logRequests = logRequests; server.HandleRequest += HandleRequest; if (startOnAwake) { server.Start(); } }