public void Render(Response response) { _context.Response.StatusCode = response.StatusCode; _context.Response.ContentType = response.ContentType; if (response.ContentFiller != null) { response.ContentFiller.Invoke(_context.Response.Body); } }
public RequestHandlingResult(bool isHandled, Response response) { _isHandled = isHandled; _response = response; }