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

    Interface IInternalWebServiceProps<APP_STATE>

    Internal properties for bash WebService.

    interface IInternalWebServiceProps<APP_STATE> {
        app: Application;
        logger: ILogger<any>;
        middleware: SwizzyMiddleware<APP_STATE>[];
        name: string;
        packageName: string;
        path: string;
        port: number;
        routerClasses: SwizzyWebRouterClass<APP_STATE, any>[];
        state: APP_STATE;
    }

    Type Parameters

    • APP_STATE

    Hierarchy (View Summary)

    Index

    Properties

    app: Application

    Attach to existing app managed externally. The web service will not start the listener or specify port for the express app if this is specified. If specified you cannot specify the port parameter.

    logger: ILogger<any>

    Logger.

    name: string

    Name of WebService.

    packageName: string

    nodejs package name as found in package.json

    path: string

    Path of app.

    port: number

    Port app is listening on.

    routerClasses: SwizzyWebRouterClass<APP_STATE, any>[]

    Classes of routers to attach.

    state: APP_STATE

    State for sharing for app.