WebSocketServerRemoveWebSocketService Method |
Namespace: Sfs2X.WebSocketSharp.Server
public bool RemoveWebSocketService( string path )
Exception | Condition |
---|---|
ArgumentNullException | path is . |
ArgumentException | path is an empty string. -or- path is not an absolute path. -or- path includes either or both query and fragment components. |
path is converted to a URL-decoded string and '/' is trimmed from the end of the converted string if any.
The service is stopped with close status 1001 (going away) if it has already started.