Sisk

Class

ListeningHost

Namespace
Sisk.Core.Http
Assembly
Sisk.Core.dll

Provides a type to contain the fields needed by an HTTP server virtual host.

C#
public sealed class ListeningHost : IEquatable<ListeningHost>

Inheritance #

object ← ListeningHost

Implements #

IEquatable<ListeningHost>

Inherited Members #

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors #

NameDescription
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 #

NameDescription
CanListenGets whether this ListeningHost can be listened by it’s host HttpServer.
CrossOriginResourceSharingPolicyGets or sets the CORS sharing policy object.
LabelGets or sets a label for this Listening Host.
PortsGets or sets the list of ListeningPort that this host will listen on.
RouterGets or sets the Router for this ListeningHost instance.
SslOptionsGets or sets the SSL options for this ListeningHost.

Methods #

NameDescription
Equals(object?)Determines if another object is equals to this class instance.
Equals(ListeningHost?)
GetHashCode()Gets the hash code for this listening host.

Type to search the documentation and the API reference.