Exemplo n.º 1
0
 public void Http3StreamAbort(string traceIdentifier, Http3ErrorCode error, ConnectionAbortedException abortReason)
 {
     if (_http3Logger.IsEnabled(LogLevel.Debug))
     {
         Http3StreamAbort(_http3Logger, traceIdentifier, Http3Formatting.ToFormattedErrorCode(error), abortReason);
     }
 }
 public Http3ConnectionErrorException(string message, Http3ErrorCode errorCode)
     : base($"HTTP/3 connection error ({Http3Formatting.ToFormattedErrorCode(errorCode)}): {message}")
 {
     ErrorCode = errorCode;
 }