C# Class UlteriusServer.Api.Network.Messages.Message

显示文件 Open project: Ulterius/server Class Usage Examples

Public Properties

Property Type Description
Data byte[]
Json string
Type MessageType

Public Methods

Method Description
Message ( WebSocket remoteClient, byte data, MessageType type ) : vtortola.WebSockets
Message ( WebSocket remoteClient, string json, MessageType type ) : vtortola.WebSockets
Message ( string message, MessageType type ) : vtortola.WebSockets

Method Details

Message() public method

public Message ( WebSocket remoteClient, byte data, MessageType type ) : vtortola.WebSockets
remoteClient vtortola.WebSockets.WebSocket
data byte
type MessageType
return vtortola.WebSockets

Message() public method

public Message ( WebSocket remoteClient, string json, MessageType type ) : vtortola.WebSockets
remoteClient vtortola.WebSockets.WebSocket
json string
type MessageType
return vtortola.WebSockets

Message() public method

public Message ( string message, MessageType type ) : vtortola.WebSockets
message string
type MessageType
return vtortola.WebSockets

Property Details

Data public_oe property

public byte[] Data
return byte[]

Json public_oe property

public string Json
return string

Type public_oe property

public MessageType Type
return MessageType