WINHTTP_WEB_SOCKET_ASYNC_RESULT structure (winhttp.h)
The WINHTTP_WEB_SOCKET_ASYNC_RESULT includes the result status of a WebSocket operation.
Syntax
typedef struct _WINHTTP_WEB_SOCKET_ASYNC_RESULT {
WINHTTP_ASYNC_RESULT AsyncResult;
WINHTTP_WEB_SOCKET_OPERATION Operation;
} WINHTTP_WEB_SOCKET_ASYNC_RESULT;
Members
AsyncResult
Type: WINHTTP_ASYNC_RESULT
The result of a WebSocket operation.
Operation
Type: WINHTTP_WEB_SOCKET_OPERATION
The type of WebSocket operation.
Remarks
A WINHTTP_WEB_SOCKET_ASYNC_RESULT structure is passed to the completion callbacks of WebSocket functions such as WinHttpWebSocketSend, WinHttpWebSocketReceive, and WinHttpWebSocketClose when dwInternetStatus is WINHTTP_CALLBACK_STATUS_REQUEST_ERROR.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Header | winhttp.h |