Share via


IHttpWebSocketFeature Interface

Definition

Provides access to server websocket features.

public interface class IHttpWebSocketFeature
public interface IHttpWebSocketFeature
type IHttpWebSocketFeature = interface
Public Interface IHttpWebSocketFeature
Derived

Properties

IsWebSocketRequest

Indicates if this is a WebSocket upgrade request.

Methods

AcceptAsync(WebSocketAcceptContext)

Attempts to upgrade the request to a WebSocket. Check IsWebSocketRequest before invoking this.

Applies to