/// <summary> /// This class knows, HOW to send back the data to the client /// Write your own JSONResponseMethod, create a JSONResponse with JSONResponse(url,JSONResponseMethod), and add this response to your webserver instance /// </summary> public JSONResponse(string url, JSONResponseMethod method) : base(url) { this._ResponseMethod = method; _JSONObject = new Object(); }
/// <summary> /// This class knows, HOW to send back the data to the client /// Write your own JSONResponseMethod, create a JSONResponse with JSONResponse(url,JSONResponseMethod), and add this response to your webserver instance /// </summary> public JSONResponse(string url, JSONResponseMethod method) : base(url) { this._ResponseMethod = method; _JSONArray = new JsonArray(); }