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

    Class WebController<ROUTER_STATE, CONTROLLER_STATE>Abstract

    Base web controller class to be used by routers.

    Type Parameters

    • ROUTER_STATE
    • CONTROLLER_STATE

    Implements

    Index

    Constructors

    Properties

    action: string

    Url Action, ie: /service/router/controller <-- this.

    actualController?: WebControllerFunction

    Configured in initialize.

    logger: ILogger<any>

    Logger

    Htto method.

    name: string

    Converts router state to this controller state.

    isWebController: true

    Methods

    • Returns {
          action: string;
          logger: undefined;
          method: RequestMethod;
          middleware: any[];
          name: string;
          stateConverter: { name: string };
      }