Delen via


IWebSocketControl2 Interface

Definition

Provides socket control data on an IWebSocket object. This interface extends the IWebSocketControl interface with an additional property.

public interface class IWebSocketControl2 : IWebSocketControl
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(2042871299, 62154, 17950, 175, 78, 150, 101, 188, 45, 6, 32)]
struct IWebSocketControl2 : IWebSocketControl
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(2042871299, 62154, 17950, 175, 78, 150, 101, 188, 45, 6, 32)]
public interface IWebSocketControl2 : IWebSocketControl
Public Interface IWebSocketControl2
Implements IWebSocketControl
Derived
Attributes
Implements

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Properties

IgnorableServerCertificateErrors

Gets a list of ignorable server certificate errors. Get this list and add ChainValidationResult values for server certificate errors that you wish to ignore during the secure WebSocket (wss:// protocol) server certificate validation process.

OutboundBufferSizeInBytes

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

(Inherited from IWebSocketControl)
ProxyCredential

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

(Inherited from IWebSocketControl)
ServerCredential

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

(Inherited from IWebSocketControl)
SupportedProtocols

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.

(Inherited from IWebSocketControl)

Applies to

See also