Photon Unity Networking 2 2.30

Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
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.

Property Documentation

◆ HttpForward

bool HttpForward
getset

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

◆ SendAuthCookie

bool SendAuthCookie
getset

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

◆ SendState

bool SendState
getset

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

◆ SendSync

bool SendSync
getset

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