/// <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();
 }
Ejemplo n.º 2
0
 /// <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();
 }