Example #1
0
 public RestContext(HttpContext native)
 {
     _native = native;
     _req = new RestRequest(this);
     _resp = new RestResponse(this);
     _hints = new RestHints(this);
     native.Items["XenoGears.RestContext"] = this;
 }
Example #2
0
 public RestContext(HttpContext native)
 {
     _native = native;
     _req    = new RestRequest(this);
     _resp   = new RestResponse(this);
     _hints  = new RestHints(this);
     native.Items["XenoGears.RestContext"] = this;
 }