Click or drag to resize

HttpListenerPrefixCollection Class

Provides the collection used to store the URI prefixes for the HttpListener.
Inheritance Hierarchy
SystemObject
  Sfs2X.WebSocketSharp.NetHttpListenerPrefixCollection

Namespace:  Sfs2X.WebSocketSharp.Net
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public class HttpListenerPrefixCollection : ICollection<string>, 
	IEnumerable<string>, IEnumerable

The HttpListenerPrefixCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of prefixes in the collection.
Public propertyIsReadOnly
Gets a value indicating whether the access to the collection is read-only.
Public propertyIsSynchronized
Gets a value indicating whether the access to the collection is synchronized.
Top
Methods
  NameDescription
Public methodAdd
Adds the specified uriPrefix to the collection.
Public methodClear
Removes all URI prefixes from the collection.
Public methodContains
Returns a value indicating whether the collection contains the specified uriPrefix.
Public methodCopyTo(Array, Int32)
Copies the contents of the collection to the specified Array.
Public methodCopyTo(String, Int32)
Copies the contents of the collection to the specified array of String.
Public methodGetEnumerator
Gets the enumerator used to iterate through the HttpListenerPrefixCollection.
Public methodRemove
Removes the specified uriPrefix from the collection.
Top
Remarks
The HttpListener responds to the request which has a requested URI that the prefixes most closely match.
See Also