Click or drag to resize
HostList Class
The HostList allows fast determination of whether a given host is in the list. It supports leading wildcards (e.g. *, and the special tokens <local> <nonlocal> and <loopback>. Note: List is *not* threadsafe; instead of updating it, construct a new one.
Inheritance Hierarchy

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version:
public class HostList

The HostList type exposes the following members.

Public methodHostList
Generate an empty HostList
Public methodHostList(String)
Create a hostlist and assign it an initial set of sites
Public methodAssignFromString(String)
Clear the List and assign the new string as the contents of the list.
Public methodAssignFromString(String, String)
Clear the list and assign the new string as the contents of the list.
Public methodClear
Clear the HostList
Public methodContainsHost(String)
Determine if a given Host is in the list
Public methodContainsHost(String, Int32)
Determine if a given Host:Port pair matches an entry in the list
Public methodContainsHostname
Determine if a given Hostname is in the list
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Return the current list of rules as a string
(Overrides ObjectToString.)
See Also