HttpServer Constructor (HttpControllerDispatcher)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the HttpServer class with default dispatcher.
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub New ( _
dispatcher As HttpControllerDispatcher _
)
public HttpServer(
HttpControllerDispatcher dispatcher
)
public:
HttpServer(
HttpControllerDispatcher^ dispatcher
)
new :
dispatcher:HttpControllerDispatcher -> HttpServer
public function HttpServer(
dispatcher : HttpControllerDispatcher
)
Parameters
- dispatcher
Type: System.Web.Http.Dispatcher.HttpControllerDispatcher
The HTTP dispatcher responsible for handling incoming requests.