IHttpServer

Overview

The IHttpServer interface represents a server channel that is able to register and unregister additional IHttpDispatcher instances. For example: the Register method of this interface is used by the RestSchemaDispatcher class to register itself in the Server Channel to be able to process REST data requests.

This interface is implemented by the HttpSysServerChannel, IpHttpServerChannel and WebProcessor server channels.

Location


Required Methods


Register

Registers the provided IHttpDispatcher instance in the current IHttpServer instance.

 

method Register(dispatcher: IHttpDispatcher)

 

void Register(IHttpDispatcher dispatcher)

 

Sub Register(dispatcher As IHttpDispatcher)

Parameters:

  • dispatcher:

Unregister

Unregisters the provided IHttpDispatcher instance from the current IHttpServer instance.

 

method Unregister(dispatcher: IHttpDispatcher)

 

void Unregister(IHttpDispatcher dispatcher)

 

Sub Unregister(dispatcher As IHttpDispatcher)

Parameters:

  • dispatcher: