HttpContext.IsWebSocketRequest HttpContext.IsWebSocketRequest HttpContext.IsWebSocketRequest HttpContext.IsWebSocketRequest Property

Definición

Obtiene un valor que indica si la solicitud es un AspNetWebSocket.Gets a value that indicates whether the request is an AspNetWebSocket request.

public:
 property bool IsWebSocketRequest { bool get(); };
public bool IsWebSocketRequest { get; }
member this.IsWebSocketRequest : bool
Public ReadOnly Property IsWebSocketRequest As Boolean

Valor de propiedad

true si la solicitud es una solicitud AspNetWebSocket; de lo contrario, es false.true if the request is an AspNetWebSocket request; otherwise, false.

Comentarios

Este método devuelve true si la solicitud contiene el protocolo AspNetWebSocket de enlace inicial y WebSocket el módulo de IIS está activo.This method returns true if the request contains the initial AspNetWebSocket handshake and the WebSocket module of IIS is active.

Se aplica a