Table of Contents

Constructor ListeningHost

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

ListeningHost()

Creates an new empty ListeningHost instance.

public ListeningHost()

ListeningHost(params ListeningPort[])

Creates an new ListeningHost instance with given array of ListeningPort.

public ListeningHost(params ListeningPort[] ports)

Parameters

ports ListeningPort[]

The array of ListeningPort to listen in the ListeningHost.

ListeningHost(string, Router)

Creates an new ListeningHost instance with given URL.

public ListeningHost(string uri, Router r)

Parameters

uri string

The well formatted URL with scheme, hostname and port.

r Router

The router which will handle this listener requests.