public async Task Invoke(Microsoft.AspNetCore.Http.HttpContext httpContext) { var reader = new HttpContextReader(httpContext); var responder = new HttpContextResponder(httpContext); var context = new HttpContextRequestContext(httpContext); await _invoker.InvokeAsync(reader, responder, context); //await _next.Invoke(httpContext); }
public override async Task Invoke(IOwinContext owinContext) { var reader = new OwinContextReader(owinContext); var responder = new OwinContextResponder(owinContext); var context = new OwinRequestContext(owinContext); await _invoker.InvokeAsync(reader, responder, context); //await Next.Invoke(owinContext); }