Windows.Networking.Sockets Namespace

These classes implement the WebSocket protocol.

On Xbox One, the WebSockets API returns error codes from the WebErrorStatus Enumeration.

Classes

  Name Description
MessageWebSocket Supports network communication that allows reading and writing whole messages by using a WebSocket connection.
MessageWebSocketControl Provides socket control data on a MessageWebSocket.
MessageWebSocketInformation Provides socket information on a MessageWebSocket.
MessageWebSocketMessageReceivedEventArgs Provides data for a message received event on a MessageWebSocket.
StreamWebSocket Supports network communication that allows reading and writing streams using a WebSocket.
StreamWebSocketControl Provides socket control data on a StreamWebSocket object.
StreamWebSocketInformation Provides socket information on a StreamWebSocket object.
WebSocketClosedEventArgs Provides data for a closed event on a MessageWebSocket, StreamWebSocket, or IWebSocket object.
WebSocketError Provides socket error status on a MessageWebSocket or StreamWebSocket object.

Interfaces

  Name Description
IWebSocket Provides access to network communication that allows reading and writing using a WebSocket.
IWebSocketControl Provides socket control data on an IWebSocket object.
IWebSocketInformation Provides socket information on an IWebSocket object.

Structures

  Name Description
BandwidthStatistics Represents bandwidth information for network data transfer using a StreamSocket, StreamWebSocket, or MessageWebSocket object.
RoundTripTimeStatistics Represents round trip time information for a StreamSocket object.

Enumerations

  Name Description
SocketMessageType Specifies the type of a message for a MessageWebSocket object.

See also

WebErrorStatus Enumeration