public static void DebugOutput(RequestAdapter req, string path) { req.SetContentType("text/plain"); req.Respond(string.Join(Environment.NewLine, sLog.ToArray())); }
//---------------------------------------------------------------------------------------------------- // public static void NotFound(RequestAdapter req, string path) { req.Reject(ResponseCode.NotFound); }
//---------------------------------------------------------------------------------------------------- // take a screen shot and return the image public static void Screenshot(RequestAdapter req, string path) { UniumComponent.Singleton.StartCoroutine(TakeScreenshot(req, path)); }