WINHTTP_WEB_SOCKET_OPERATION enumeration (winhttp.h)
The WINHTTP_WEB_SOCKET_OPERATION enumeration includes the WebSocket operation type.
Syntax
typedef enum _WINHTTP_WEB_SOCKET_OPERATION {
WINHTTP_WEB_SOCKET_SEND_OPERATION = 0,
WINHTTP_WEB_SOCKET_RECEIVE_OPERATION = 1,
WINHTTP_WEB_SOCKET_CLOSE_OPERATION = 2,
WINHTTP_WEB_SOCKET_SHUTDOWN_OPERATION = 3
} WINHTTP_WEB_SOCKET_OPERATION;
Constants
WINHTTP_WEB_SOCKET_SEND_OPERATION Value: 0 A WinHttpWebSocketSend operation. |
WINHTTP_WEB_SOCKET_RECEIVE_OPERATION Value: 1 A WinHttpWebSocketReceive operation. |
WINHTTP_WEB_SOCKET_CLOSE_OPERATION Value: 2 A WinHttpWebSocketClose operation. |
WINHTTP_WEB_SOCKET_SHUTDOWN_OPERATION Value: 3 A WinHttpWebSocketShutdown operation. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Header | winhttp.h |