| File: Internal\IRequestProcessor.cs | Web Access |
| Project: src\aspnetcore\src\Servers\Kestrel\Core\src\Microsoft.AspNetCore.Server.Kestrel.Core.csproj (Microsoft.AspNetCore.Server.Kestrel.Core) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Connections; using Microsoft.AspNetCore.Hosting.Server; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal; internal interface IRequestProcessor { Task ProcessRequestsAsync<TContext>(IHttpApplication<TContext> application) where TContext : notnull; void StopProcessingNextRequest(ConnectionEndReason reason); void HandleRequestHeadersTimeout(); void HandleReadDataRateTimeout(); void OnInputOrOutputCompleted(); void Tick(long timestamp); void Abort(ConnectionAbortedException ex, ConnectionEndReason reason); }