Photon Unity Networking 2  v2.1
English | 日本語 | 한국
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
 
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.

Property Documentation

bool HttpForward
getset

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

bool SendAuthCookie
getset

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

bool SendState
getset

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

bool SendSync
getset

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