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 HttpContextResponderTests() { _removeOutputHeaders = new RemoveOutputHeaders(); _responder = new HttpContextResponder(_removeOutputHeaders); }
public OutputPipelineParams(HttpContextResponder responder, ReadOnlyMemory <byte> data, CancellationToken cancellation) { Responder = responder ?? throw new ArgumentNullException(nameof(responder)); Data = data; Cancellation = cancellation; }