Message
A Message class is used to send and receive data
Properties
Read only unsigned short Id, used to Identitfy Message while sending and receving Newtork Message
public readonly ushort Id;
For internal use only, it is used to identify inline Messages
public byte callbackId;
A Message Payload will be delivered after getting encrypted if set true
public bool IsEncrypted;
Data to be sent
public object Payload { get; set; }
Constructors
public Message(ushort msgId, object payload);
public Message(ushort msgId, object payload, bool isEncrypted);
Last updated
Was this helpful?