Implementation of an HttpServer which listens directly to HTTP.
Inheritance Hierarchy
System.Object
  HttpMessageHandler
    DelegatingHandler
      System.Web.Http.HttpServer
        System.Web.Http.SelfHost.HttpSelfHostServer
Namespace:  System.Web.Http.SelfHost
Assembly:  System.Web.Http.SelfHost (in System.Web.Http.SelfHost.dll)
Syntax
'Declaration
Public NotInheritable Class HttpSelfHostServer _
    Inherits HttpServer
'Usage
Dim instance As HttpSelfHostServer
public sealed class HttpSelfHostServer : HttpServer
public ref class HttpSelfHostServer sealed : public HttpServer
[<SealedAttribute>]
type HttpSelfHostServer =  
    class
        inherit HttpServer
    end
public final class HttpSelfHostServer extends HttpServer
The HttpSelfHostServer type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .jpeg) | HttpSelfHostServer(HttpSelfHostConfiguration) | Initializes a new instance of the HttpSelfHostServer class. | 
| .jpeg) | HttpSelfHostServer(HttpSelfHostConfiguration, HttpMessageHandler) | Initializes a new instance of the HttpSelfHostServer class. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .jpeg) | Configuration | Gets the HttpConfiguration used to configure this instance. (Inherited from HttpServer.) | 
| .jpeg) | Dispatcher | Gets the HTTP dispatcher that handles incoming requests. (Inherited from HttpServer.) | 
| .jpeg) | InnerHandler | (Inherited from DelegatingHandler.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .jpeg) | CloseAsync | Closes the current HttpServer instance. | 
| .jpeg) | Dispose | (Inherited from HttpMessageHandler.) | 
| .jpeg) | Equals | (Inherited from Object.) | 
| .jpeg) | GetHashCode | (Inherited from Object.) | 
| .jpeg) | GetType | (Inherited from Object.) | 
| .jpeg) | OpenAsync | Opens the current HttpServer instance. | 
| .jpeg) | SendAsync | (Inherited from DelegatingHandler.) | 
| .jpeg) | ToString | (Inherited from Object.) | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.