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.
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 | |
---|---|---|
![]() |
HttpSelfHostServer(HttpSelfHostConfiguration) | Initializes a new instance of the HttpSelfHostServer class. |
![]() |
HttpSelfHostServer(HttpSelfHostConfiguration, HttpMessageHandler) | Initializes a new instance of the HttpSelfHostServer class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Configuration | Gets the HttpConfiguration used to configure this instance. (Inherited from HttpServer.) |
![]() |
Dispatcher | Gets the HTTP dispatcher that handles incoming requests. (Inherited from HttpServer.) |
![]() |
InnerHandler | (Inherited from DelegatingHandler.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
CloseAsync | Closes the current HttpServer instance. |
![]() |
Dispose | (Inherited from HttpMessageHandler.) |
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
OpenAsync | Opens the current HttpServer instance. |
![]() |
SendAsync | (Inherited from DelegatingHandler.) |
![]() |
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.