namespace DiscordRPC.IO { /// /// The operation code that the was sent under. This defines the type of frame and the data to expect. /// public enum Opcode : uint { /// /// Initial handshake frame /// Handshake = 0, /// /// Generic message frame /// Frame = 1, /// /// Discord has closed the connection /// Close = 2, /// /// Ping frame (not used?) /// Ping = 3, /// /// Pong frame (not used?) /// Pong = 4 } }