Fake Mirrors
    Preparing search index...

    Class ProxyService

    Represents the proxy service.

    • Creates a new proxy.

      Parameters

      • data: { campaignId: string; lockSecret: string; proxyId: string; url: string }

        The data object.

      Returns Promise<ProxyModel>

      The created proxy model.

    • Deletes the proxy by its ID.

      Parameters

      • data: { campaignId: string; lockSecret: string; proxyId: string }

        The data object.

      Returns Promise<void>

    • Disables the proxy, stopping traffic routing.

      Parameters

      • data: { campaignId: string; lockSecret: string; proxyId: string }

        The data object.

      Returns Promise<void>

    • Enables the proxy, making it available for traffic routing.

      Parameters

      • data: { campaignId: string; lockSecret: string; proxyId: string }

        The data object.

      Returns Promise<void>

    • Reads the proxy by its ID.

      Parameters

      • data: { campaignId: string; proxyId: string }

        The data object.

      Returns Promise<ProxyModel>

      The proxy model.

      ReplServerError If the proxy is not found.