HttpServer Class

 

Defines an implementation of an HttpMessageHandler which dispatches an incoming HttpRequestMessage and creates an HttpResponseMessage as a result.

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


public class HttpServer : DelegatingHandler

NameDescription
System_CAPS_pubmethodHttpServer()

Initializes a new instance of the HttpServer class, using the default configuration and dispatcher.

System_CAPS_pubmethodHttpServer(HttpConfiguration)

Initializes a new instance of the HttpServer class with a specified configuration.

System_CAPS_pubmethodHttpServer(HttpConfiguration, HttpMessageHandler)

Initializes a new instance of the HttpServer class with a specified configuration and dispatcher.

System_CAPS_pubmethodHttpServer(HttpMessageHandler)

Initializes a new instance of the HttpServer class with a specified dispatcher.

NameDescription
System_CAPS_pubpropertyConfiguration

Gets the HttpConfiguration used to configure this instance.

System_CAPS_pubpropertyDispatcher

Gets the HTTP dispatcher that handles incoming requests.

System_CAPS_pubpropertyInnerHandler

(Inherited from DelegatingHandler.)

NameDescription
System_CAPS_pubmethodDispose()

(Inherited from HttpMessageHandler.)

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources.(Overrides DelegatingHandler.Dispose(Boolean).)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodInitialize()

Prepares the server for operation.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodSendAsync(HttpRequestMessage, CancellationToken)
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: