WEB_SOCKET_PROPERTY structure (websocket.h)

The WEB_SOCKET_PROPERTY structure contains a single WebSocket property.

Syntax

typedef struct _WEB_SOCKET_PROPERTY {
  WEB_SOCKET_PROPERTY_TYPE Type;
  PVOID                    pvValue;
  ULONG                    ulValueSize;
} WEB_SOCKET_PROPERTY, *PWEB_SOCKET_PROPERTY;

Members

Type

Type: WEB_SOCKET_PROPERTY_TYPE

The WebSocket property type.

pvValue

Type: PVOID

A pointer to the value to set. The pointer must have an alignment compatible with the type of the property.

ulValueSize

Type: ULONG

The size, in bytes, of the property pointed to by pvValue.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header websocket.h

See also

WebSocketCreateClientHandle

WebSocketCreateServerHandle

WebSocketReceive

WebSocketSend