WINHTTP_WEB_SOCKET_OPERATION enumeration

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  = 2
} WINHTTP_WEB_SOCKET_OPERATION;

Constants

WINHTTP_WEB_SOCKET_SEND_OPERATION

A WinHttpWebSocketSend operation.

WINHTTP_WEB_SOCKET_RECEIVE_OPERATION

A WinHttpWebSocketReceive operation.

WINHTTP_WEB_SOCKET_CLOSE_OPERATION

A WinHttpWebSocketClose operation.

WINHTTP_WEB_SOCKET_SHUTDOWN_OPERATION

A WinHttpWebSocketShutdown operation.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Winhttp.h

See also

WINHTTP_WEB_SOCKET_ASYNC_RESULT
WinHttpWebSocketSend
WinHttpWebSocketReceive
WinHttpWebSocketClose
WinHttpWebSocketShutdown

 

 

Community Additions

ADD
Show:
© 2014 Microsoft