WINHTTP_WEB_SOCKET_STATUS structure (winhttp.h)
The WINHTTP_WEB_SOCKET_STATUS enumeration includes the status of a WebSocket operation.
Syntax
typedef struct _WINHTTP_WEB_SOCKET_STATUS {
DWORD dwBytesTransferred;
WINHTTP_WEB_SOCKET_BUFFER_TYPE eBufferType;
} WINHTTP_WEB_SOCKET_STATUS;
Members
dwBytesTransferred
Type: DWORD
The amount of bytes transferred in the operation.
eBufferType
Type: WINHTTP_WEB_SOCKET_BUFFER_TYPE
The type of data in the buffer.
Remarks
A WINHTTP_WEB_SOCKET_STATUS structure is passed to the completion callback of WinHttpWebSocketSend when dwInternetStatus is WINHTTP_CALLBACK_STATUS_READ_COMPLETE.
A WINHTTP_WEB_SOCKET_STATUS structure is passed to the completion callback of WinHttpWebSocketReceive when dwInternetStatus is WINHTTP_CALLBACK_STATUS_WRITE_COMPLETE.
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