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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for