AspNetWebSocketOptions Class

Definition

Specifies configuration settings for an AspNetWebSocket connection.

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

Constructors

AspNetWebSocketOptions()

Initializes a new instance of the AspNetWebSocketOptions class.

Properties

RequireSameOrigin

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

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.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to