@@ -782,6 +782,36 @@ namespace RabbitMQ.Client.Exceptions
782
782
public object Offender { get; }
783
783
}
784
784
}
785
+ namespace RabbitMQ.Client.Framing
786
+ {
787
+ public static class Constants
788
+ {
789
+ public const int AccessRefused = 403;
790
+ public const int ChannelError = 504;
791
+ public const int CommandInvalid = 503;
792
+ public const int ConnectionForced = 320;
793
+ public const int ContentTooLarge = 311;
794
+ public const int FrameBody = 3;
795
+ public const int FrameEnd = 206;
796
+ public const int FrameError = 501;
797
+ public const int FrameHeader = 2;
798
+ public const int FrameHeartbeat = 8;
799
+ public const int FrameMethod = 1;
800
+ public const int FrameMinSize = 4096;
801
+ public const int InternalError = 541;
802
+ public const int InvalidPath = 402;
803
+ public const int NoConsumers = 313;
804
+ public const int NotAllowed = 530;
805
+ public const int NotFound = 404;
806
+ public const int NotImplemented = 540;
807
+ public const int PreconditionFailed = 406;
808
+ public const int ReplySuccess = 200;
809
+ public const int ResourceError = 506;
810
+ public const int ResourceLocked = 405;
811
+ public const int SyntaxError = 502;
812
+ public const int UnexpectedFrame = 505;
813
+ }
814
+ }
785
815
namespace RabbitMQ.Client.Logging
786
816
{
787
817
[System.Diagnostics.Tracing.EventSource(Name="rabbitmq-dotnet-client")]
0 commit comments