Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines an implementation of an HttpMessageHandler which dispatches an incoming HttpRequestMessage and creates an HttpResponseMessage as a result.
Inheritance Hierarchy
System.Object
HttpMessageHandler
DelegatingHandler
System.Web.Http.HttpServer
System.Web.Http.SelfHost.HttpSelfHostServer
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Class HttpServer _
Inherits DelegatingHandler
'Usage
Dim instance As HttpServer
public class HttpServer : DelegatingHandler
public ref class HttpServer : public DelegatingHandler
type HttpServer =
class
inherit DelegatingHandler
end
public class HttpServer extends DelegatingHandler
The HttpServer type exposes the following members.
Constructors
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. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Configuration | Gets the HttpConfiguration used to configure this instance. |
![]() |
Dispatcher | Gets the HTTP dispatcher that handles incoming requests. |
![]() |
InnerHandler | (Inherited from DelegatingHandler.) |
Top
Methods
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.) |
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.