59 references to Http2FrameType
Microsoft.AspNetCore.Server.Kestrel.Core (59)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LoggerMessage.g.cs (6)
918private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2FrameType, int, int, object, global::System.Exception?> __Http2FrameReceivedCallback = 919global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2FrameType, int, int, object>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(37, "Http2FrameReceived"), "Connection id \"{ConnectionId}\" received {type} frame for stream ID {id} with length {length} and flags {flags}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); 926public static partial void Http2FrameReceived(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2FrameType type, int id, int length, object flags) 979private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2FrameType, int, int, object, global::System.Exception?> __Http2FrameSendingCallback = 980global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2FrameType, int, int, object>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(49, "Http2FrameSending"), "Connection id \"{ConnectionId}\" sending {type} frame for stream ID {id} with length {length} and flags {flags}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); 987public static partial void Http2FrameSending(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2FrameType type, int id, int length, object flags)
Internal\Http2\Http2Connection.cs (10)
694Http2FrameType.DATA => ProcessDataFrameAsync(payload), 695Http2FrameType.HEADERS => ProcessHeadersFrameAsync(application, payload), 696Http2FrameType.PRIORITY => ProcessPriorityFrameAsync(), 697Http2FrameType.RST_STREAM => ProcessRstStreamFrameAsync(), 698Http2FrameType.SETTINGS => ProcessSettingsFrameAsync(payload), 699Http2FrameType.PUSH_PROMISE => throw new Http2ConnectionErrorException(CoreStrings.Http2ErrorPushPromiseReceived, Http2ErrorCode.PROTOCOL_ERROR, ConnectionEndReason.UnexpectedFrame), 700Http2FrameType.PING => ProcessPingFrameAsync(payload), 701Http2FrameType.GOAWAY => ProcessGoAwayFrameAsync(), 702Http2FrameType.WINDOW_UPDATE => ProcessWindowUpdateFrameAsync(), 703Http2FrameType.CONTINUATION => ProcessContinuationFrameAsync(payload),
Internal\Infrastructure\KestrelTrace.Http2.cs (2)
121public static partial void Http2FrameReceived(ILogger logger, string connectionId, Http2FrameType type, int id, int length, object flags); 133public static partial void Http2FrameSending(ILogger logger, string connectionId, Http2FrameType type, int id, int length, object flags);
src\aspnetcore\src\Shared\ServerInfrastructure\Http2\Http2Frame.Continuation.cs (1)
26Type = Http2FrameType.CONTINUATION;
src\aspnetcore\src\Shared\ServerInfrastructure\Http2\Http2Frame.cs (11)
27public Http2FrameType Type { get; set; } 37case Http2FrameType.CONTINUATION: 39case Http2FrameType.DATA: 41case Http2FrameType.HEADERS: 43case Http2FrameType.SETTINGS: 45case Http2FrameType.PING: 49case Http2FrameType.PUSH_PROMISE: 52case Http2FrameType.PRIORITY: 53case Http2FrameType.RST_STREAM: 54case Http2FrameType.GOAWAY: 55case Http2FrameType.WINDOW_UPDATE:
src\aspnetcore\src\Shared\ServerInfrastructure\Http2\Http2Frame.Data.cs (1)
36Type = Http2FrameType.DATA;
src\aspnetcore\src\Shared\ServerInfrastructure\Http2\Http2Frame.GoAway.cs (1)
24Type = Http2FrameType.GOAWAY;
src\aspnetcore\src\Shared\ServerInfrastructure\Http2\Http2Frame.Headers.cs (1)
48Type = Http2FrameType.HEADERS;
src\aspnetcore\src\Shared\ServerInfrastructure\Http2\Http2Frame.Ping.cs (1)
26Type = Http2FrameType.PING;
src\aspnetcore\src\Shared\ServerInfrastructure\Http2\Http2Frame.Priority.cs (1)
24Type = Http2FrameType.PRIORITY;
src\aspnetcore\src\Shared\ServerInfrastructure\Http2\Http2Frame.RstStream.cs (1)
18Type = Http2FrameType.RST_STREAM;
src\aspnetcore\src\Shared\ServerInfrastructure\Http2\Http2Frame.Settings.cs (1)
27Type = Http2FrameType.SETTINGS;
src\aspnetcore\src\Shared\ServerInfrastructure\Http2\Http2Frame.WindowUpdate.cs (1)
18Type = Http2FrameType.WINDOW_UPDATE;
src\aspnetcore\src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (21)
65frame.Type = (Http2FrameType)header[TypeOffset]; 103case Http2FrameType.DATA: // Variable 0 or 1 120case Http2FrameType.HEADERS: 152case Http2FrameType.GOAWAY: 164case Http2FrameType.PRIORITY: 174case Http2FrameType.RST_STREAM: 183case Http2FrameType.WINDOW_UPDATE: 187case Http2FrameType.PING: // Opaque payload 8 bytes long 188case Http2FrameType.SETTINGS: // Settings are general payload 189case Http2FrameType.CONTINUATION: // None 190case Http2FrameType.PUSH_PROMISE: // Not implemented frames are ignored at this phase 205case Http2FrameType.DATA: // Variable 0 or 1 207case Http2FrameType.HEADERS: 209case Http2FrameType.GOAWAY: 211case Http2FrameType.PRIORITY: 213case Http2FrameType.RST_STREAM: 215case Http2FrameType.WINDOW_UPDATE: 217case Http2FrameType.PING: // 8 bytes of opaque data 218case Http2FrameType.SETTINGS: // Settings are general payload 219case Http2FrameType.CONTINUATION: // None 220case Http2FrameType.PUSH_PROMISE: // Not implemented frames are ignored at this phase