SocketMessageType SocketMessageType SocketMessageType SocketMessageType SocketMessageType Enum

Definition

Specifies the type of a message for a MessageWebSocket object.

public : enum class SocketMessageType
enum class winrt::Windows::Networking::Sockets::SocketMessageType : int32_t
public enum SocketMessageType
Public Enum SocketMessageType
var value = Windows.Networking.Sockets.SocketMessageType.binary;
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 Binary 0

The message type is binary.

Utf8 Utf8 Utf8 Utf8 Utf8 1

The message type is UTF-8 text.

See Also