Photon Server API

Properties | List of all members
Photon.SocketServer.SendParameters Struct Reference

The struct contains the parameters for PeerBase.SendOperationResponse(OperationResponse,SendParameters), PeerBase.SendEvent(IEventData,SendParameters) and S2SPeerBase.SendOperationRequest(OperationRequest,SendParameters) and contains the info about incoming data at PeerBase.OnOperationRequest, S2SPeerBase.OnEvent and S2SPeerBase.OnOperationResponse. More...

Properties

byte ChannelId [get, set]
 Gets or sets the channel id for the udp protocol. More...
 
bool Encrypted [get, set]
 Gets or sets a value indicating whether the data is sent encrypted. More...
 
bool Flush [get, set]
 Gets or sets a value indicating whether to flush all queued data with the next send. This overrides the configured send delay. More...
 
bool? Unreliable [get, set]
 Gets or sets a value indicating whether to send the data unreliable. More...
 
DeliveryMode DeliveryMode [get, set]
 

Detailed Description

The struct contains the parameters for PeerBase.SendOperationResponse(OperationResponse,SendParameters), PeerBase.SendEvent(IEventData,SendParameters) and S2SPeerBase.SendOperationRequest(OperationRequest,SendParameters) and contains the info about incoming data at PeerBase.OnOperationRequest, S2SPeerBase.OnEvent and S2SPeerBase.OnOperationResponse.

Property Documentation

◆ ChannelId

byte Photon.SocketServer.SendParameters.ChannelId
getset

Gets or sets the channel id for the udp protocol.

◆ DeliveryMode

DeliveryMode Photon.SocketServer.SendParameters.DeliveryMode
getset

◆ Encrypted

bool Photon.SocketServer.SendParameters.Encrypted
getset

Gets or sets a value indicating whether the data is sent encrypted.

◆ Flush

bool Photon.SocketServer.SendParameters.Flush
getset

Gets or sets a value indicating whether to flush all queued data with the next send. This overrides the configured send delay.

◆ Unreliable

bool? Photon.SocketServer.SendParameters.Unreliable
getset

Gets or sets a value indicating whether to send the data unreliable.