HttpServer Class
Defines an implementation of an HttpMessageHandler which dispatches an incoming HttpRequestMessage and creates an HttpResponseMessage as a result.
System.Object
HttpMessageHandler
DelegatingHandler
System.Web.Http.HttpServer
System.Web.Http.SelfHost.HttpSelfHostServer
HttpMessageHandler
DelegatingHandler
System.Web.Http.HttpServer
System.Web.Http.SelfHost.HttpSelfHostServer
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
The HttpServer type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | HttpServer() | Initializes a new instance of the HttpServer class, using the default configuration and dispatcher. |
![]() | HttpServer(HttpMessageHandler) | Initializes a new instance of the HttpServer class with a specified dispatcher. |
![]() | HttpServer(HttpConfiguration) | Initializes a new instance of the HttpServer class with a specified configuration. |
![]() | HttpServer(HttpConfiguration, HttpMessageHandler) | Initializes a new instance of the HttpServer class with a specified configuration and dispatcher. |
| Name | Description | |
|---|---|---|
![]() | Configuration | Gets the HttpConfiguration used to configure this instance. |
![]() | Dispatcher | Gets the HTTP dispatcher that handles incoming requests. |
![]() | InnerHandler | (Inherited from DelegatingHandler.) |
| Name | Description | |
|---|---|---|
![]() | Dispose() | (Inherited from HttpMessageHandler.) |
![]() | Dispose(Boolean) | Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources. (Overrides DelegatingHandlerDispose(Boolean).) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | Initialize | Prepares the server for operation. |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | SendAsync | Dispatches an incoming HttpRequestMessage. (Overrides DelegatingHandlerSendAsync(HttpRequestMessage, CancellationToken).) |
![]() | ToString | (Inherited from Object.) |
