libSnp enums - fullphat/snarl_network_protocol GitHub Wiki

Commands

Defines the various commands that can be issued as part of a SNP31Request.

public enum Commands
{
    Null,
    Invalid,
    Notify,
    Register,
    Forward,
    Subscribe,
    Unsubscribe
}

ConnectionStatus

Indicates where in the connection establishment sequence we are.

public enum ConnectionStatus
{
    ResolvingHost,
    HostResolved,
    Connecting,
    Connected,
    Sending,
    Sent,
    WaitingForReply,
    ReplyReceived,
}

HashTypes

Defines the hashing algorithms that can be used.

public enum HashTypes
{
    Invalid,
    None,
    MD5,
    SHA1,
    SHA256,
    SHA512,
}

Priority

Standard priorities that NOTIFY and FORWARD requests can use.

public enum Priority : int
{
    Informational = -2,
    Low = -1,
    Normal = 0,
    High = 1,
    Important = 2
}

ResponseTypes

Identifies what type of response a particular SNP31Response represents.

public enum ResponseTypes
{
    Null,
    Invalid,
    Success,
    Failed,
    Callback,
    Goodbye
}

StatusCodes

Standard Snarl status codes.

See Also

⚠️ **GitHub.com Fallback** ⚠️