@swizzyweb/swizzy-web-service
    Preparing search index...

    Interface InstallableController<CONTROLLER_STATE>

    Interface for installing a controller onto a router.

    interface InstallableController<CONTROLLER_STATE> {
        action: string;
        controller: WebControllerFunction;
        middleware: SwizzyMiddlewareFunction[];
    }

    Type Parameters

    • CONTROLLER_STATE
    Index

    Properties

    action: string

    The action used in mapping to this controller.

    The actual controller function.

    Middleware to install and execute before this controller is invoked.