LinkResolvableDelegate

public protocol LinkResolvableDelegate : AnyObject

A type that can receive result of resolving links

  • Will be called in case of success link resolving

    Declaration

    Swift

    func didResolveLink(response: ResolveLinkResponse)

    Parameters

    response

    Resolved link info

  • Will be called in case of failing link resolving

    Declaration

    Swift

    func didFailedResolve(link: String, with error: Error)

    Parameters

    link

    string representation of URL.

    error

    error instance with details, what went wrong.