10 references to Http2ErrorCode
IIS.ShadowCopy.Tests (10)
src\Shared\ServerInfrastructure\Http2\Http2ConnectionErrorException.cs (2)
10
public Http2ConnectionErrorException(string message,
Http2ErrorCode
errorCode, ConnectionEndReason reason)
17
public
Http2ErrorCode
ErrorCode { get; }
src\Shared\ServerInfrastructure\Http2\Http2Frame.GoAway.cs (2)
19
public
Http2ErrorCode
GoAwayErrorCode { get; set; }
21
public void PrepareGoAway(int lastStreamId,
Http2ErrorCode
errorCode)
src\Shared\ServerInfrastructure\Http2\Http2Frame.RstStream.cs (2)
13
public
Http2ErrorCode
RstStreamErrorCode { get; set; }
15
public void PrepareRstStream(int streamId,
Http2ErrorCode
errorCode)
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (4)
54
throw new Http2ConnectionErrorException(SharedStrings.FormatHttp2ErrorFrameOverLimit(payloadLength, maxFrameSize),
Http2ErrorCode
.FRAME_SIZE_ERROR, ConnectionEndReason.MaxFrameLengthExceeded);
86
SharedStrings.FormatHttp2ErrorUnexpectedFrameLength(frame.Type, expectedLength: extendedHeaderLength),
Http2ErrorCode
.FRAME_SIZE_ERROR, ConnectionEndReason.InvalidFrameLength);
154
frame.GoAwayErrorCode = (
Http2ErrorCode
)BinaryPrimitives.ReadUInt32BigEndian(extendedHeaders.Slice(4));
175
frame.RstStreamErrorCode = (
Http2ErrorCode
)BinaryPrimitives.ReadUInt32BigEndian(extendedHeaders);