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

    Interface IWebServiceProps<APP_STATE>

    Required fields for client facing WebServices. This is intented to be the base class for extensions of the abstract WebService base class.

    interface IWebServiceProps<APP_STATE> {
        app: Application;
        logger: ILogger<any>;
        port: number;
        state: APP_STATE;
    }

    Type Parameters

    • APP_STATE

    Hierarchy (View Summary)

    Index

    Properties

    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.

    port: number

    Port app is listening on.

    state: APP_STATE

    State for sharing for app.