IWebSocket Members

IWebSocket has the following members.

Public Properties

  Name Description
OutputStream Gets the output stream to write to the remote network destination on a IWebSocket object.

Public Methods

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

Public Events

  Name Description
Closed Occurs when a close frame is received on the IWebSocket object as part of the close handshake.

See also

Reference

IWebSocket Interface

Windows.Networking.Sockets Namespace