Click or drag to resize

WebSocketServiceManagerItem Property

Gets the host instance for a WebSocket service with the specified path.

Namespace:  Sfs2X.WebSocketSharp.Server
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public WebSocketServiceHost this[
	string path
] { get; }

Parameters

path
Type: SystemString
A String that represents an absolute path to the service to find.

Property Value

Type: WebSocketServiceHost

A WebSocketServiceHost instance or if not found.

That host instance provides the function to access the information in the service.

Exceptions
ExceptionCondition
ArgumentNullExceptionpath is .
ArgumentException

path is empty.

-or-

path is not an absolute path.

-or-

path includes either or both query and fragment components.

Remarks
path is converted to a URL-decoded string and / is trimmed from the end of the converted string if any.
See Also