MessageWebSocketControl.MessageType Property

The WebSocket message type to be configured on a MessageWebSocket object for write operations.

Syntax

public:
property SocketMessageType MessageType {
         SocketMessageType get ();
         void set (SocketMessageType value);
}  

Property value

Type: SocketMessageType 

The WebSocket message type.

Remarks

A WebSocket message can be either a binary message or a UTF-8 message.

This property only affects write operations on OutputStream. It does not affect the format of received messages.

Requirements

Namespace: Windows.Networking.Sockets

Metadata: windows.winmd

See also

Reference

MessageWebSocketControl Class

MessageWebSocketControl Members

Windows.Networking.Sockets Namespace