BackendServiceOptions | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Interface BackendServiceOptions

    interface BackendServiceOptions {
        alt?: boolean;
        autoRestart?: boolean;
        dropListenerReference?: boolean;
        onClose?: () => void;
        protocols?: BackendServiceProtocol[];
        restartImmediately?: boolean;
    }
    Index

    Properties

    alt?: boolean

    Append "-alt" to the service name

    autoRestart?: boolean

    Enable automatic restart of the service when the source code changes. Defaults to true

    dropListenerReference?: boolean

    Don't keep a reference to the listening port, preventing this service from keeping the process alive

    onClose?: () => void

    Callback to invoke when service is shut down

    protocols?: BackendServiceProtocol[]

    Protocols to listen on

    restartImmediately?: boolean

    Immediately restart the service even if we stil have open connections.