ImageRequestConvertible

public protocol ImageRequestConvertible

A type that can be used to construct URL requests. String, URL, and URLRequest are conform to ImageRequestConvertible protocol.

  • Convert this value into a URLRequest object.

    Declaration

    Swift

    func asURLRequest() -> URLRequest?
  • Convert this value into an absolute url string.

    Declaration

    Swift

    func asURLString() -> String?