HttpServer Constructor
Assembly: System.Web.Http (in System.Web.Http.dll)
| Name | Description | |
|---|---|---|
![]() | HttpServer() | Initializes a new instance of the HttpServer class, using the default configuration and 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. |
![]() | HttpServer(HttpMessageHandler^) | Initializes a new instance of the HttpServer class with a specified dispatcher. |
HttpServer Constructor ()
Initializes a new instance of the HttpServer class, using the default configuration and dispatcher.
HttpServer Constructor (HttpConfiguration^)
Initializes a new instance of the HttpServer class with a specified configuration.
Parameters
- configuration
-
Type:
System.Web.Http::HttpConfiguration^
The HttpConfiguration used to configure this instance.
HttpServer Constructor (HttpConfiguration^, HttpMessageHandler^)
Initializes a new instance of the HttpServer class with a specified configuration and dispatcher.
Parameters
- configuration
-
Type:
System.Web.Http::HttpConfiguration^
The HttpConfiguration used to configure this instance.
- dispatcher
-
Type:
System.Net.Http::HttpMessageHandler^
The HTTP dispatcher that will handle incoming requests.
HttpServer Constructor (HttpMessageHandler^)
Initializes a new instance of the HttpServer class with a specified dispatcher.
Parameters
- dispatcher
-
Type:
System.Net.Http::HttpMessageHandler^
The HTTP dispatcher that will handle incoming requests.
