IWebSocketControl interface

Applies to Windows and Windows Phone

Provides socket control data on an IWebSocket object.

Syntax


public interface IWebSocketControl

Attributes

[Version(0x06020000)]

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

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

DLL

Windows.Networking.dll

See also

IWebSocket

 

 

Show:
© 2014 Microsoft. All rights reserved.