3 types derived from HttpProtocol
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\Http1Connection.cs (1)
16
internal partial class Http1Connection :
HttpProtocol
, IRequestProcessor, IHttpOutputAborter
Internal\Http2\Http2Stream.cs (1)
31
internal abstract partial class Http2Stream :
HttpProtocol
, IThreadPoolWorkItem, IDisposable, IPooledStream
Internal\Http3\Http3Stream.cs (1)
27
internal abstract partial class Http3Stream :
HttpProtocol
, IHttp3Stream, IHttpStreamHeadersHandler, IThreadPoolWorkItem
22 references to HttpProtocol
Microsoft.AspNetCore.Server.Kestrel.Core (22)
Internal\Http\HttpProtocol.cs (4)
511
ServiceContext.Scheduler.Schedule(state => ((
HttpProtocol
)state!).CancelRequestAbortedTokenCallback(), this);
815
static async Task ProcessEvents(
HttpProtocol
protocol, Stack<KeyValuePair<Func<object, Task>, object>> events)
843
static async Task ProcessEvents(
HttpProtocol
protocol, Stack<KeyValuePair<Func<object, Task>, object>> events)
1428
private static void WriteDiagnosticEvent(DiagnosticSource diagnosticSource, string name,
HttpProtocol
value)
Internal\Http\IHttpOutputProducer.cs (1)
9
/// Used to plug HTTP version-specific functionality into <see cref="
HttpProtocol
"/>.
Internal\Http\MessageBody.cs (3)
16
private readonly
HttpProtocol
_context;
27
protected MessageBody(
HttpProtocol
context)
42
public
HttpProtocol
Context => _context;
Internal\Infrastructure\KestrelEventSource.cs (8)
97
public void RequestStart(
HttpProtocol
httpProtocol)
105
void Core(
HttpProtocol
httpProtocol)
122
public void RequestStop(
HttpProtocol
httpProtocol)
130
void Core(
HttpProtocol
httpProtocol)
278
public void RequestQueuedStart(
HttpProtocol
httpProtocol, string httpVersion)
284
public void RequestQueuedStop(
HttpProtocol
httpProtocol, string httpVersion)
290
public void RequestUpgradedStart(
HttpProtocol
httpProtocol)
296
public void RequestUpgradedStop(
HttpProtocol
httpProtocol)
Internal\Infrastructure\StatusCheckPipeWriter.cs (2)
15
private
HttpProtocol
? _context;
22
public void SetRequest(
HttpProtocol
context)
Internal\Infrastructure\StatusCheckWriteStream.cs (2)
13
private
HttpProtocol
? _context;
20
public void SetRequest(
HttpProtocol
context)
ListenOptions.cs (2)
138
return IsTls ?
HttpProtocol
.SchemeHttps :
HttpProtocol
.SchemeHttp;