Export (0) Print
Expand All

HttpSelfHostServer Class

Implementation of an HttpServer which listens directly to HTTP.

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)

public sealed class HttpSelfHostServer : HttpServer

The HttpSelfHostServer type exposes the following members.

  NameDescription
Public methodHttpSelfHostServer(HttpSelfHostConfiguration) Initializes a new instance of the HttpSelfHostServer class.
Public methodHttpSelfHostServer(HttpSelfHostConfiguration, HttpMessageHandler) Initializes a new instance of the HttpSelfHostServer class.
Top

  NameDescription
Public propertyConfigurationGets the HttpConfiguration used to configure this instance. (Inherited from HttpServer.)
Public propertyDispatcherGets the HTTP dispatcher that handles incoming requests. (Inherited from HttpServer.)
Public propertyInnerHandler (Inherited from DelegatingHandler.)
Top

  NameDescription
Public methodCloseAsync Closes the current HttpServer instance.
Public methodDispose (Inherited from HttpMessageHandler.)
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodOpenAsync Opens the current HttpServer instance.
Protected methodSendAsync (Inherited from DelegatingHandler.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft