Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpSelfHostServer Class

 

Implementation of an HttpServer which listens directly to HTTP.

Namespace:   System.Web.Http.SelfHost
Assembly:  System.Web.Http.SelfHost (in System.Web.Http.SelfHost.dll)

System::Object
  System.Net.Http::HttpMessageHandler
    System.Net.Http::DelegatingHandler
      System.Web.Http::HttpServer
        System.Web.Http.SelfHost::HttpSelfHostServer

public ref class HttpSelfHostServer sealed : HttpServer

NameDescription
System_CAPS_pubmethodHttpSelfHostServer(HttpSelfHostConfiguration^)

Initializes a new instance of the HttpSelfHostServer class.

System_CAPS_pubmethodHttpSelfHostServer(HttpSelfHostConfiguration^, HttpMessageHandler^)

Initializes a new instance of the HttpSelfHostServer class.

NameDescription
System_CAPS_pubpropertyConfiguration

Gets the HttpConfiguration used to configure this instance.(Inherited from HttpServer.)

System_CAPS_pubpropertyDispatcher

Gets the HTTP dispatcher that handles incoming requests.(Inherited from HttpServer.)

System_CAPS_pubpropertyInnerHandler

(Inherited from DelegatingHandler.)

NameDescription
System_CAPS_pubmethodCloseAsync()

Closes the current HttpServer instance.

System_CAPS_pubmethodDispose()

(Inherited from HttpMessageHandler.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodOpenAsync()

Opens the current HttpServer instance.

System_CAPS_protmethodSendAsync(HttpRequestMessage^, CancellationToken)

(Inherited from DelegatingHandler.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top
Show: