17 references to Http3Formatting
InMemory.FunctionalTests (7)
Http3\Http3ConnectionTests.cs (2)
289
expectedErrorMessage: CoreStrings.FormatHttp3ErrorUnsupportedFrameOnControlStream(
Http3Formatting
.ToFormattedType(f)));
388
expectedErrorMessage: CoreStrings.FormatHttp3ControlStreamFrameTooLarge(
Http3Formatting
.ToFormattedType((Http3FrameType)frameType)));
Http3\Http3StreamTests.cs (5)
1121
CoreStrings.FormatHttp3StreamResetByApplication(
Http3Formatting
.ToFormattedErrorCode(Http3ErrorCode.RequestCancelled)));
2029
expectedErrorMessage: CoreStrings.FormatHttp3StreamErrorFrameReceivedAfterTrailers(
Http3Formatting
.ToFormattedType(Http3FrameType.Data)));
2106
expectedErrorMessage: CoreStrings.FormatHttp3ErrorUnsupportedFrameOnRequestStream(
Http3Formatting
.ToFormattedType(f)));
2113
expectedErrorMessage: CoreStrings.FormatHttp3ErrorUnsupportedFrameOnRequestStream(
Http3Formatting
.ToFormattedType(f)));
2137
expectedErrorMessage: CoreStrings.FormatHttp3ErrorUnsupportedFrameOnServer(
Http3Formatting
.ToFormattedType(f)));
Microsoft.AspNetCore.Server.Kestrel.Core (10)
Internal\Http3\Frames\Http3RawFrame.cs (1)
16
public string FormattedType =>
Http3Formatting
.ToFormattedType(Type);
Internal\Http3\Http3ConnectionErrorException.cs (1)
11
: base($"HTTP/3 connection error ({
Http3Formatting
.ToFormattedErrorCode(errorCode)}): {message}")
Internal\Http3\Http3ControlStream.cs (2)
499
throw new Http3ConnectionErrorException(CoreStrings.FormatHttp3ControlStreamFrameTooLarge(
Http3Formatting
.ToFormattedType(incomingFrame.Type)), Http3ErrorCode.FrameError, ConnectionEndReason.InvalidFrameLength);
507
var message = CoreStrings.FormatHttp3ErrorControlStreamFrameReceivedBeforeSettings(
Http3Formatting
.ToFormattedType(frameType));
Internal\Http3\Http3Stream.cs (2)
809
throw new Http3ConnectionErrorException(CoreStrings.FormatHttp3StreamErrorFrameReceivedAfterTrailers(
Http3Formatting
.ToFormattedType(Http3FrameType.Headers)), Http3ErrorCode.UnexpectedFrame, ConnectionEndReason.UnexpectedFrame);
924
var message = CoreStrings.FormatHttp3StreamErrorFrameReceivedAfterTrailers(
Http3Formatting
.ToFormattedType(Http3FrameType.Data));
Internal\Http3\Http3Stream.FeatureCollection.cs (1)
57
var message = CoreStrings.FormatHttp3StreamResetByApplication(
Http3Formatting
.ToFormattedErrorCode((Http3ErrorCode)errorCode));
Internal\Infrastructure\KestrelTrace.Http3.cs (3)
32
Http3Log.Http3StreamAbort(_http3Logger, traceIdentifier,
Http3Formatting
.ToFormattedErrorCode(error), abortReason);
40
Http3Log.Http3FrameReceived(_http3Logger, connectionId,
Http3Formatting
.ToFormattedType(frame.Type), streamId, frame.RemainingLength);
48
Http3Log.Http3FrameSending(_http3Logger, connectionId,
Http3Formatting
.ToFormattedType(frame.Type), streamId, frame.RemainingLength);