Photon .NET Client API 4.1.4.8

Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
Photon.Realtime.WebFlags Class Reference

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
 

Static Public Attributes

static readonly WebFlags Default = new WebFlags(0)
 
const byte HttpForwardConst = 0x01
 
const byte SendAuthCookieConst = 0x02
 
const byte SendSyncConst = 0x04
 
const byte SendStateConst = 0x08
 

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)
inline

Member Data Documentation

◆ Default

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

◆ HttpForwardConst

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

◆ SendAuthCookieConst

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

◆ SendStateConst

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

◆ SendSyncConst

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

◆ 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: