Export (0) Print
Expand All

IWebSocketContext Interface

IIS 7.0

Represents context support for bi-directional WebSocket communications over a single TCP socket.

class IWebSocketContext : public IHttpStoredContext

The following table lists the methods exposed by the IWebSocketContext interface.

Name

Description

CancelOutstandingIO

Cancels all remaining input or output operations.

CloseTcpConnection

Signals the close of the TCP connection. The connection will not shut down until both sides acknowledge the close.

GetCloseStatus

Retrieves the close status code for the connection.

ReadFragment

Reads a data fragment from an asynchronous connection.

SendConnectionClose

Signals the close of a WebSocket connection.

WriteFragment

Writes a data fragment to an asynchronous connection.

This interface contains no derived classes.

Type

Description

Client

  • IIS 8.0 on Windows 8 Client

Server

  • IIS 8.0 on Windows Server 2012

Product

IIS 8.0

Header

Iiswebsocket.h

Community Additions

ADD
Show:
© 2014 Microsoft