MessageWebSocket Class

Supports network communication that allows reading and writing whole messages by using a WebSocket connection.

MessageWebSocket signals that a new message has been received only after the entire message has arrived. If you want to transfer large files, such as photos or movies, by using WebSockets technology, you should use the StreamWebSocket class instead, because it allows your code to read and process sections of a message with each of multiple read operations.

Syntax

public ref class MessageWebSocket sealed : IWebSocket, IClosable  

Remarks

Requirements

Namespace: Windows.Networking.Sockets

Metadata: windows.winmd

See also

Reference

MessageWebSocket Members

Windows.Networking.Sockets Namespace