StreamWebSocketControl class

Expand
This topic has not yet been rated - Rate this topic

StreamWebSocketControl class

[This documentation is preliminary and is subject to change.]

Applies to: Metro style apps | desktop apps

Provides socket control data on a StreamWebSocket object.

Syntax


var streamWebSocketControl = StreamWebSocket.Control;

Attributes

DualApiPartitionAttribute()
MarshalingBehaviorAttribute(Agile)
VersionAttribute(NTDDI_WIN8)

Members

The StreamWebSocketControl class has these types of members:

Methods

The StreamWebSocketControl class inherits methods from the Object class (C#/VB/C++).

Properties

The StreamWebSocketControl class has these properties.

PropertyAccess typeDescription

NoDelay

Read/writeA value that indicates whether the Nagle algorithm is used on a StreamWebSocket object.

OutboundBufferSizeInBytes

Read/writeThe size, in bytes, of the send buffer to be used for sending data on a StreamWebSocket object.

ProxyCredential

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

ServerCredential

Read/writeThe credential to use to authenticate to the WebSocket server through HTTP header authentication using a StreamWebSocket 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 Release Preview

Minimum supported server

Windows Server 2012

Namespace

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

Metadata

Windows.winmd

DLL

Windows.Networking.dll

Capabilities

internetClient
privateNetworkClientServer

See also

StreamWebSocket
How to use advanced WebSocket controls

 

 

Build date: 5/22/2012

Did you find this helpful?
(1500 characters remaining)
Community Additions ADD