MessageWebSocket Members

MessageWebSocket has the following members.

Public Constructors

  Name Description
MessageWebSocket Creates a new MessageWebSocket object.

Public Properties

  Name Description
Control Gets socket control data on a MessageWebSocket object.
Information Gets socket information on a MessageWebSocket object.
OutputStream Gets the output stream to write to the remote network destination on a MessageWebSocket object.

Public Methods

  Name Description
Close Overloaded. Closes the MessageWebSocket object.
ConnectAsync Starts an asynchronous operation to connect to a remote network destination on a MessageWebSocket object.
SetRequestHeader Adds an HTTP request header to the HTTP request message used in the WebSocket protocol handshake by the MessageWebSocket object.

Public Events

  Name Description
Closed Occurs when a close frame is received on the MessageWebSocket object as part of the close handshake.
MessageReceived An event that indicates that a message was received on the MessageWebSocket object.

See also

Reference

MessageWebSocket Class

Windows.Networking.Sockets Namespace