Freigeben über


WINHTTP_WEB_SOCKET_OPERATION-Enumeration (winhttp.h)

Die WINHTTP_WEB_SOCKET_OPERATION-Enumeration enthält den WebSocket-Vorgangstyp.

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;

Konstanten

 
WINHTTP_WEB_SOCKET_SEND_OPERATION
Wert: 0
Ein WinHttpWebSocketSend-Vorgang .
WINHTTP_WEB_SOCKET_RECEIVE_OPERATION
Wert: 1
Ein WinHttpWebSocketReceive-Vorgang .
WINHTTP_WEB_SOCKET_CLOSE_OPERATION
Wert: 2
Ein WinHttpWebSocketClose-Vorgang .
WINHTTP_WEB_SOCKET_SHUTDOWN_OPERATION
Wert: 3
Ein WinHttpWebSocketShutdown-Vorgang .

Anforderungen

   
Unterstützte Mindestversion (Client) Windows 8 [nur Desktop-Apps]
Unterstützte Mindestversion (Server) Windows Server 2012 [nur Desktop-Apps]
Kopfzeile winhttp.h

Weitere Informationen

WINHTTP_WEB_SOCKET_ASYNC_RESULT

WinHttpWebSocketClose

WinHttpWebSocketReceive

WinHttpWebSocketSend

WinHttpWebSocketShutdown