MessageWebSocketControl class

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

MessageWebSocketControl class

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

Applies to: Metro style apps | desktop apps

Provides socket control data on a MessageWebSocket.

Syntax


var messageWebSocketControl = MessageWebSocket.Control;

Attributes

DualApiPartitionAttribute()
MarshalingBehaviorAttribute(Agile)
VersionAttribute(NTDDI_WIN8)

Members

The MessageWebSocketControl class has these types of members:

Methods

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

Properties

The MessageWebSocketControl class has these properties.

PropertyAccess typeDescription

MaxMessageSize

Read/writeThe maximum message size, in bytes, for a WebSocket message to be configured on the MessageWebSocket object.

MessageType

Read/writeThe WebSocket message type to be configured on a MessageWebSocket object.

OutboundBufferSizeInBytes

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

ProxyCredential

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

ServerCredential

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

See also

MessageWebSocket
How to use advanced WebSocket controls

 

 

Build date: 5/22/2012

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