SocketMessageType SocketMessageType SocketMessageType SocketMessageType Enum

Definition

Specifies the type of a message for a MessageWebSocket object.

public : enum class SocketMessageTypepublic enum SocketMessageTypePublic Enum SocketMessageType// You can use this enum in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
ID_CAP_NETWORKING [Windows Phone]

Fields

Binary Binary Binary Binary

The message type is binary.

Utf8 Utf8 Utf8 Utf8

The message type is UTF-8 text.