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