Partager via


énumération WINHTTP_WEB_SOCKET_OPERATION (winhttp.h)

L’énumération WINHTTP_WEB_SOCKET_OPERATION inclut le type d’opération WebSocket.

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;

Constantes

 
WINHTTP_WEB_SOCKET_SEND_OPERATION
Valeur : 0
Opération WinHttpWebSocketSend .
WINHTTP_WEB_SOCKET_RECEIVE_OPERATION
Valeur : 1
Opération WinHttpWebSocketReceive .
WINHTTP_WEB_SOCKET_CLOSE_OPERATION
Valeur : 2
Opération WinHttpWebSocketClose .
WINHTTP_WEB_SOCKET_SHUTDOWN_OPERATION
Valeur : 3
Opération WinHttpWebSocketShutdown .

Configuration requise

   
Client minimal pris en charge Windows 8 [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2012 [applications de bureau uniquement]
En-tête winhttp.h

Voir aussi

WINHTTP_WEB_SOCKET_ASYNC_RESULT

WinHttpWebSocketClose

WinHttpWebSocketReceive

WinHttpWebSocketSend

WinHttpWebSocketShutdown