Class Photon
public abstract class Photon : FiberMsg, IPhoton
- Inheritance
-
objectFiberMsgPhoton
- Implements
- Derived
Fields
KeyBase
protected const int KeyBase = 0
Field Value
KeyCount
protected const int KeyCount = 5
Field Value
Properties
Headers
[Key(4)]
[MessagePackFormatter(typeof(CaseInsensitiveStringValueRecyclableDictionaryFormatter))]
public Dictionary<string, StringValues>? Headers { get; set; }
Property Value
ParentPhotonIdNonce
[Key(1)]
public uint ParentPhotonIdNonce { get; set; }
Property Value
PhotonFlags
[Key(3)]
public PhotonFlags PhotonFlags { get; set; }
Property Value
PhotonId
[Key(0)]
public PhotonId PhotonId { get; set; }
Property Value
RayFlags
[Key(2)]
public RayFlags RayFlags { get; set; }
Property Value
Methods
AddHeader(string, StringValues)
public void AddHeader(string key, StringValues value)
Parameters
key
stringvalue
StringValues
RemoveHeader(string)
public bool RemoveHeader(string key)
Parameters
key
string
Returns
Reset()
public virtual void Reset()
Trim()
public virtual void Trim()
TryGetHeaderOrDefault(string, out StringValues)
public bool TryGetHeaderOrDefault(string key, out StringValues value)
Parameters
key
stringvalue
StringValues