Table of Contents

Class Photon

Namespace
Phoesion.Glow.SDK
Assembly
Phoesion.Glow.SDK.Photons.dll
public abstract class Photon : FiberMsg, IPhoton
Inheritance
object
FiberMsg
Photon
Implements
Derived

Fields

KeyBase

protected const int KeyBase = 0

Field Value

int

KeyCount

protected const int KeyCount = 5

Field Value

int

Properties

Headers

[Key(4)]
[MessagePackFormatter(typeof(CaseInsensitiveStringValueRecyclableDictionaryFormatter))]
public Dictionary<string, StringValues>? Headers { get; set; }

Property Value

Dictionary<string, StringValues>

ParentPhotonIdNonce

[Key(1)]
public uint ParentPhotonIdNonce { get; set; }

Property Value

uint

PhotonFlags

[Key(3)]
public PhotonFlags PhotonFlags { get; set; }

Property Value

PhotonFlags

PhotonId

[Key(0)]
public PhotonId PhotonId { get; set; }

Property Value

PhotonId

RayFlags

[Key(2)]
public RayFlags RayFlags { get; set; }

Property Value

RayFlags

Methods

AddHeader(string, StringValues)

public void AddHeader(string key, StringValues value)

Parameters

key string
value StringValues

RemoveHeader(string)

public bool RemoveHeader(string key)

Parameters

key string

Returns

bool

Reset()

public virtual void Reset()

Trim()

public virtual void Trim()

TryGetHeaderOrDefault(string, out StringValues)

public bool TryGetHeaderOrDefault(string key, out StringValues value)

Parameters

key string
value StringValues

Returns

bool