IBM Aspera JavaScript Library
    Preparing search index...

    Interface InitOptions

    interface InitOptions {
        appId?: string;
        connectSettings?: {
            correlationId?: string;
            dragDropEnabled?: boolean;
            hideIncludedInstaller?: boolean;
            method?: "http" | "extension";
            minVersion?: string;
            sdkLocation?: string;
            useConnect: boolean;
        };
        httpGatewaySettings?: { forceGateway: boolean; url: string };
        supportMultipleUsers?: boolean;
    }
    Index

    Properties

    appId?: string

    The application ID to link to. This should be unique for each use app/user.

    connectSettings?: {
        correlationId?: string;
        dragDropEnabled?: boolean;
        hideIncludedInstaller?: boolean;
        method?: "http" | "extension";
        minVersion?: string;
        sdkLocation?: string;
        useConnect: boolean;
    }

    Connect Settings

    Type Declaration

    • OptionalcorrelationId?: string

      Correlation ID for connecting to IBMid users

    • OptionaldragDropEnabled?: boolean

      Indicate if Drag and Drop is enabled

    • OptionalhideIncludedInstaller?: boolean

      Indicate if default Connect installer window should not be shown

    • Optionalmethod?: "http" | "extension"

      Method for Connect communication. Default is extension

    • OptionalminVersion?: string

      Minimum version of Connect to allow

    • OptionalsdkLocation?: string

      Location of SDK for downloads

    • useConnect: boolean

      Use connect. Indicate if Connect should be used instead of Desktop.

    httpGatewaySettings?: { forceGateway: boolean; url: string }

    HTTP Gateway Settings

    Type Declaration

    • forceGateway: boolean

      Indicate if HTTP Gateway should be forced. This will not start desktop if httpGatewayUrl is valid.

    • url: string

      Aspera HTTP Gateway URL to use if desktop is not available. Include gateway route but not versions (example: https://example.com/aspera/http-gwy).

    supportMultipleUsers?: boolean

    Indicate if the computer is running multiple users possibly (avoid port crossing).