Sisk

Class

HttpHost

Namespace
Sisk.Cadente
Assembly
Sisk.Cadente.dll

Represents an HTTP host that listens for incoming TCP connections and handles HTTP requests.

C#
public sealed class HttpHost : IDisposable

Inheritance #

object ← HttpHost

Implements #

IDisposable

Inherited Members #

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

Constructors #

NameDescription
HttpHost(IPEndPoint)Initializes a new instance of the HttpHost class using the specified IPEndPoint.
HttpHost(int)Initializes a new instance of the HttpHost class using the specified port on the loopback address.

Properties #

NameDescription
EndpointGets the endpoint of the HttpHost.
HandlerGets or sets an HttpHostHandler instance for this HttpHost.
HttpsOptionsGets or sets the HTTPS options for secure connections. Setting an HttpsOptions object in this property, the HttpHost will use HTTPS instead of HTTP.
IsDisposedGets a value indicating whether this HttpHost has been disposed.
ServerNameHeaderGets or sets the name of the server in the header name.
TimeoutManagerGets the HttpHostTimeoutManager for this HttpHost.

Methods #

NameDescription
Dispose()
~HttpHost()
Start()Starts the HTTP host and begins listening for incoming connections.
Stop()Stops the HTTP host from listening for incoming HTTP requests.

Type to search the documentation and the API reference.