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

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

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