Table of Contents

Class ListeningHost

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

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

public sealed class ListeningHost : IEquatable<ListeningHost>
Inheritance
ListeningHost
Implements
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.

SslOptions

Gets or sets the SSL options for this ListeningHost.

Methods

Equals(ListeningHost?)
Equals(object?)

Determines if another object is equals to this class instance.

GetHashCode()

Gets the hash code for this listening host.