Member Junction
    Preparing search index...

    Options passed to ServerExtensionLoader.LoadExtensions().

    interface LoadExtensionsOptions {
        apiRootPath?: string;
        httpServer?: Server<typeof IncomingMessage, typeof ServerResponse>;
        phase?: ServerExtensionPhase;
        publicUrl?: string;
        services?: ServerExtensionServiceRegistry;
    }
    Index

    Properties

    apiRootPath?: string

    MJAPI's base path (no trailing slash), passed through to ServerExtensionInitContext.apiRootPath.

    httpServer?: Server<typeof IncomingMessage, typeof ServerResponse>

    Node HTTP/HTTPS server instance (for WebSockets, media streaming, etc.).

    Optional filter for lifecycle phase. When provided, only extensions matching this phase are initialized. An extension's phase is config.Phase ?? instance.DefaultPhase.

    publicUrl?: string

    Canonical public base URL of the MJ server.

    Custom service registry if not using the loader's default.