AspNetWebSocketOptions Class
Specifies configuration settings for an AspNetWebSocket connection.
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | AspNetWebSocketOptions() | Initializes a new instance of the AspNetWebSocketOptions class. |
| Name | Description | |
|---|---|---|
![]() | RequireSameOrigin | Gets or sets whether the URL that initiatedthe 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. |
| Name | Description | |
|---|---|---|
![]() | 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() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
Available since 4.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

