mirror of
https://github.com/EnderIce2/SDR-RPC.git
synced 2025-05-25 19:54:26 +00:00
34 lines
616 B
C#
34 lines
616 B
C#
namespace DiscordRPC.IO
|
|
{
|
|
/// <summary>
|
|
/// The operation code that the <see cref="PipeFrame"/> was sent under. This defines the type of frame and the data to expect.
|
|
/// </summary>
|
|
public enum Opcode : uint
|
|
{
|
|
/// <summary>
|
|
/// Initial handshake frame
|
|
/// </summary>
|
|
Handshake = 0,
|
|
|
|
/// <summary>
|
|
/// Generic message frame
|
|
/// </summary>
|
|
Frame = 1,
|
|
|
|
/// <summary>
|
|
/// Discord has closed the connection
|
|
/// </summary>
|
|
Close = 2,
|
|
|
|
/// <summary>
|
|
/// Ping frame (not used?)
|
|
/// </summary>
|
|
Ping = 3,
|
|
|
|
/// <summary>
|
|
/// Pong frame (not used?)
|
|
/// </summary>
|
|
Pong = 4
|
|
}
|
|
}
|