Class ListeningHost
Provides a structure to contain the fields needed by an http server host.
public sealed class ListeningHost
- Inheritance
-
ListeningHost
- Inherited Members
Constructors
- ListeningHost()
Creates an new empty ListeningHost instance.
- ListeningHost(params ListeningPort[])
Creates an new ListeningHost instance with given array of ListeningPort.
- ListeningHost(string, Router)
Creates an new ListeningHost instance with given URL.
Properties
- CanListen
Gets whether this ListeningHost can be listened by it's host HttpServer.
- CrossOriginResourceSharingPolicy
Gets or sets the CORS sharing policy object.
- Label
Gets or sets a label for this Listening Host.
- Ports
Gets or sets the list of ListeningPort that this host will listen on.
- Router
Gets or sets the Router for this ListeningHost instance.
Methods
- Equals(object?)
Determines if another object is equals to this class instance.
- GetHashCode()
Gets the hash code for this listening host.