Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IWebSocketControl interface

Provides socket control data on an IWebSocket object.

Syntax


public interface IWebSocketControl

Members

The IWebSocketControl interface has these types of members:

Properties

The IWebSocketControl interface has these properties.

PropertyAccess typeDescription

OutboundBufferSizeInBytes

Read/write

The size, in bytes, of the send buffer to be used for sending data on an IWebSocket object.

ProxyCredential

Read/write

The credential to use to authenticate to the proxy server through HTTP header authentication using an IWebSocket object.

ServerCredential

Read/write

The credential to use to authenticate to the WebSocket server through HTTP header authentication using an IWebSocket object.

SupportedProtocols

Read-only

Gets a collection that can be used to add a list of supported sub-protocols that will be advertised to the server during the connect handshake.

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]

See also

IWebSocket

 

 

Show: