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