Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WINHTTP_WEB_SOCKET_ASYNC_RESULT

WINHTTP_WEB_SOCKET_ASYNC_RESULT structure

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Winhttp.h

See also

WinHttpWebSocketSend
WinHttpWebSocketReceive
WinHttpWebSocketClose
WinHttpWebSocketShutdown
WINHTTP_WEB_SOCKET_OPERATION
WINHTTP_ASYNC_RESULT

 

 

Community Additions

ADD
Show:
© 2015 Microsoft