@aster-rpc/aster API Reference
    Preparing search index...

    Interface AsterClientOptions

    Options for AsterClientWrapper.

    interface AsterClientOptions {
        address?: string;
        endpointAddr?: string;
        transport?: AsterTransport;
        config?: Partial<AsterConfig>;
        identity?: string;
        peer?: string;
        enrollmentCredentialFile?: string;
        retryBackoff?: ExponentialBackoff;
    }
    Index

    Properties

    address?: string

    Connection address (aster1... ticket, base64 NodeAddr, or hex EndpointId).

    endpointAddr?: string

    Use address instead.

    transport?: AsterTransport
    config?: Partial<AsterConfig>
    identity?: string

    Path to .aster-identity file. Overrides config.identityFile.

    peer?: string

    Peer name for identity file lookup.

    enrollmentCredentialFile?: string

    Path to a pre-signed enrollment credential file (.cred JSON or .aster-identity TOML).

    retryBackoff?: ExponentialBackoff

    Retry configuration for reconnection.