Insomnia-Script-SDK-Docs
    Preparing search index...

    Class ProxyConfigList<T>

    A specialized list class for managing ProxyConfig objects.

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _kind: string = 'PropertyList'
    list: T[] = []
    parent: undefined | Property | PropertyList<any>
    typeClass: { _index?: string }

    Methods

    • Resolves the proxy configuration for a given URL. It only returns the first one if multiple matches are found.

      Parameters

      • Optionalurl: Url

        The URL to resolve the proxy configuration for. If not provided, null is returned.

      Returns null | { [k: string]: any }

      The first matching proxy configuration as a JSON object, or null if no match is found.