ProxyServicing

public protocol ProxyServicing

A protocol for managing proxy related operations.

  • Fetches proxy indicators based on collection of proxy hashes that reflect local contacts data.

    • payload: The payload containing the proxy indicator request data.
    • response: The loadable subject to track the response. The loadable subject tracks the state of the proxy indicator update operation, representing the success state with the loaded ProxyIndicatorResponsePayload value or the failure state with the associated NetworkError.

    Declaration

    Swift

    func fetchProxyIndicators(
        _ payload: ProxyIndicatorRequestPayload,
        response: LoadableSubject<ProxyIndicatorResponsePayload>
    )
  • Retrieves proxy information for the specified proxy hash.

    Declaration

    Swift

    func fetchProxyInfo(
        _ proxyHash: String,
        response: LoadableSubject<ProxyCustomerDetailsResponse>
    )

    Parameters

    proxyHash

    The proxy hash used to fetch customer details.

    response

    The loadable subject to track the response. The loadable subject tracks the state of the customer details retrieval operation, representing the success state with the loaded ProxyCustomerDetailsResponse value or the failure state with the associated NetworkError.