WEB_SOCKET_HTTP_HEADER structure

The WEB_SOCKET_HTTP_HEADER structure contains an HTTP header.

Syntax


typedef struct _WEB_SOCKET_HTTP_HEADER {
  PCHAR pcName;
  ULONG ulNameLength;
  PCHAR pcValue;
  ULONG ulValueLength;
} WEB_SOCKET_HTTP_HEADER, *PWEB_SOCKET_HTTP_HEADER;

Members

pcName

Type: PCHAR

A pointer to the HTTP header name. The name must not contain a colon character.

ulNameLength

Type: ULONG

Length, in characters, of the HTTP header pointed to by pcName.

pcValue

Type: PCHAR

A pointer to the HTTP header value.

ulValueLength

Type: ULONG

Length, in characters, of the HTTP value pointed to by pcValue.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Websocket.h

See also

WebSocketBeginClientHandshake
WebSocketBeginServerHandshake
WebSocketEndClientHandshake
WebSocketEndServerHandshake

 

 

Community Additions

ADD
Show: