AspNetWebSocketOptions AspNetWebSocketOptions AspNetWebSocketOptions AspNetWebSocketOptions Class


Specifies configuration settings for an AspNetWebSocket connection.

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


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

Initializes a new instance of the AspNetWebSocketOptions class.


RequireSameOrigin RequireSameOrigin RequireSameOrigin RequireSameOrigin

Gets or sets whether the URL that initiated the WebSocket connection corresponds to the current server.

SubProtocol SubProtocol SubProtocol SubProtocol

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.


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

Determines whether the specified object is equal to the current object.

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

Serves as the default hash function.

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

Gets the Type of the current instance.

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

Creates a shallow copy of the current Object.

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

Returns a string that represents the current object.

(Inherited from Object)

Applies to