Windows Dev Center

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/writeThe size, in bytes, of the send buffer to be used for sending data on an IWebSocket object.

ProxyCredential

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

ServerCredential

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

SupportedProtocols

Read-onlyGets 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

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:
© 2015 Microsoft