AspNetWebSocketOptions AspNetWebSocketOptions AspNetWebSocketOptions AspNetWebSocketOptions Class

Definición

Especifica los valores de configuración para una conexión de AspNetWebSocket.Specifies configuration settings for an AspNetWebSocket connection.

public ref class AspNetWebSocketOptions sealed
public sealed class AspNetWebSocketOptions
type AspNetWebSocketOptions = class
Public NotInheritable Class AspNetWebSocketOptions
Herencia
AspNetWebSocketOptionsAspNetWebSocketOptionsAspNetWebSocketOptionsAspNetWebSocketOptions

Constructores

AspNetWebSocketOptions() AspNetWebSocketOptions() AspNetWebSocketOptions() AspNetWebSocketOptions()

Inicializa una nueva instancia de la clase AspNetWebSocketOptions.Initializes a new instance of the AspNetWebSocketOptions class.

Propiedades

RequireSameOrigin RequireSameOrigin RequireSameOrigin RequireSameOrigin

Obtiene o establece si la dirección URL que ha iniciado la conexión de WebSocket se corresponde al servidor actual.Gets or sets whether the URL that initiated the WebSocket connection corresponds to the current server.

SubProtocol SubProtocol SubProtocol SubProtocol

Obtiene o establece el nombre de un protocolo específico de la aplicación que un cliente remoto y un servidor pueden usar para intercambiar datos en una conexión AspNetWebSocket.Gets or sets the name of an application-specific protocol that a remote client and a server can use to exchange data over an AspNetWebSocket connection.

Métodos

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determina si el objeto especificado es igual al objeto actual.Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Sirve como la función hash predeterminada.Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Obtiene el Type de la instancia actual.Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Crea una copia superficial del objeto Object actual.Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Devuelve una cadena que representa el objeto actual.Returns a string that represents the current object.

(Inherited from Object)

Se aplica a