Esempio n. 1
0
 public static void DebugOutput(RequestAdapter req, string path)
 {
     req.SetContentType("text/plain");
     req.Respond(string.Join(Environment.NewLine, sLog.ToArray()));
 }
Esempio n. 2
0
        //----------------------------------------------------------------------------------------------------
        //

        public static void NotFound(RequestAdapter req, string path)
        {
            req.Reject(ResponseCode.NotFound);
        }
Esempio n. 3
0
        //----------------------------------------------------------------------------------------------------
        // take a screen shot and return the image

        public static void Screenshot(RequestAdapter req, string path)
        {
            UniumComponent.Singleton.StartCoroutine(TakeScreenshot(req, path));
        }