Optional flags to be used in Photon client SDKs with Op RaiseEvent and Op SetProperties. Introduced mainly for webhooks 1.2 to control behavior of forwarded HTTP requests. More...

Public Member Functions

 WebFlags (byte webhookFlags)
 

Public Attributes

byte WebhookFlags
 
const byte HttpForwardConst = 0x01
 
const byte SendAuthCookieConst = 0x02
 
const byte SendSyncConst = 0x04
 
const byte SendStateConst = 0x08
 

Static Public Attributes

static readonly WebFlags Default = new WebFlags(0)
 

Properties

bool HttpForward [get, set]
 Indicates whether to forward HTTP request to web service or not. More...
 
bool SendAuthCookie [get, set]
 Indicates whether to send AuthCookie of actor in the HTTP request to web service or not. More...
 
bool SendSync [get, set]
 Indicates whether to send HTTP request synchronously or asynchronously to web service. More...
 
bool SendState [get, set]
 Indicates whether to send serialized game state in HTTP request to web service or not. More...
 

Detailed Description

Optional flags to be used in Photon client SDKs with Op RaiseEvent and Op SetProperties. Introduced mainly for webhooks 1.2 to control behavior of forwarded HTTP requests.

Constructor & Destructor Documentation

◆ WebFlags()

Photon.Realtime.WebFlags.WebFlags ( byte  webhookFlags)

Member Data Documentation

◆ Default

readonly WebFlags Photon.Realtime.WebFlags.Default = new WebFlags(0)
static

◆ HttpForwardConst

const byte Photon.Realtime.WebFlags.HttpForwardConst = 0x01

◆ SendAuthCookieConst

const byte Photon.Realtime.WebFlags.SendAuthCookieConst = 0x02

◆ SendStateConst

const byte Photon.Realtime.WebFlags.SendStateConst = 0x08

◆ SendSyncConst

const byte Photon.Realtime.WebFlags.SendSyncConst = 0x04

◆ WebhookFlags

byte Photon.Realtime.WebFlags.WebhookFlags

Property Documentation

◆ HttpForward

bool Photon.Realtime.WebFlags.HttpForward
getset

Indicates whether to forward HTTP request to web service or not.

◆ SendAuthCookie

bool Photon.Realtime.WebFlags.SendAuthCookie
getset

Indicates whether to send AuthCookie of actor in the HTTP request to web service or not.

◆ SendState

bool Photon.Realtime.WebFlags.SendState
getset

Indicates whether to send serialized game state in HTTP request to web service or not.

◆ SendSync

bool Photon.Realtime.WebFlags.SendSync
getset

Indicates whether to send HTTP request synchronously or asynchronously to web service.


The documentation for this class was generated from the following file:
  • 3rd-Party/Photon/PhotonRealtime/Code/WebRpc.cs