/// <summary> /// Creates a new Web Context /// </summary> /// <param name="context">HTTP Context</param> public WebContext(HttpContext context) { this._context = context; this._request = new WebRequest(context); this._response = new WebResponse(context); }
public ServerContext(HttpServerContext context) { this._context = context; this._request = new ServerRequest(context.Request); this._response = new ServerResponse(context.Response); }