Class HttpHost
Represents an HTTP host that listens for incoming TCP connections and handles HTTP requests.
public sealed class HttpHost : IDisposable
- Inheritance
-
HttpHost
- Implements
- Inherited Members
Constructors
- HttpHost(int)
Initializes a new instance of the HttpHost class using the specified port on the loopback address.
- HttpHost(IPEndPoint)
Initializes a new instance of the HttpHost class using the specified IPEndPoint.
Properties
- Handler
Gets or sets an HttpHostHandler instance for this HttpHost.
- HttpsOptions
Gets or sets the HTTPS options for secure connections. Setting an HttpsOptions object in this property, the HttpHost will use HTTPS instead of HTTP.
- IsDisposed
Gets a value indicating whether this HttpHost has been disposed.
- QueueSize
Gets or sets the client queue size of all HttpHost instances. This value indicates how many connections the server can maintain simultaneously before queueing other connections attempts.
- ServerNameHeader
Gets or sets the name of the server in the header name.
- TimeoutManager
Gets the HttpHostTimeoutManager for this HttpHost.
Methods
- Start()
Starts the HTTP host and begins listening for incoming connections.