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);
        }
예제 #2
0
        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);
        }