Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTsmCustomRESTServer.MountOn

procedure MountOn(const aRouter: iHttpRouter);
The runtime escape hatch: mounts on aRouter directly, for a router that belongs to no protocol component. Raises eRESTServerError when the router has no prefix mounts (iHttpPrefixRouter) - the library's own (NewHttpRouter) always does. Unmounts from wherever it was first, so moving a REST server is one call.