Export (0) Print
Expand All

WINHTTP_WEB_SOCKET_BUFFER_TYPE enumeration

The WINHTTP_WEB_SOCKET_BUFFER_TYPE enumeration includes types of WebSocket buffers.

Syntax


typedef enum _WINHTTP_WEB_SOCKET_BUFFER_TYPE { 
  WINHTTP_WEB_SOCKET_BINARY_MESSAGE_BUFFER_TYPE   = 0,
  WINHTTP_WEB_SOCKET_BINARY_FRAGMENT_BUFFER_TYPE  = 1,
  WINHTTP_WEB_SOCKET_UTF8_MESSAGE_BUFFER_TYPE     = 2,
  WINHTTP_WEB_SOCKET_UTF8_FRAGMENT_BUFFER_TYPE    = 3,
  WINHTTP_WEB_SOCKET_CLOSE_BUFFER_TYPE            = 4
} WINHTTP_WEB_SOCKET_BUFFER_TYPE;

Constants

WINHTTP_WEB_SOCKET_BINARY_MESSAGE_BUFFER_TYPE

Buffer contains either the entire binary message or the last part of it.

WINHTTP_WEB_SOCKET_BINARY_FRAGMENT_BUFFER_TYPE

Buffer contains only part of a binary message.

WINHTTP_WEB_SOCKET_UTF8_MESSAGE_BUFFER_TYPE

Buffer contains either the entire UTF-8 message or the last part of it.

WINHTTP_WEB_SOCKET_UTF8_FRAGMENT_BUFFER_TYPE

Buffer contains only part of a UTF-8 message.

WINHTTP_WEB_SOCKET_CLOSE_BUFFER_TYPE

The server sent a close frame.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Winhttp.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft