ImageResponseSerializer

open class ImageResponseSerializer : HTTPResponseSerializer

Undocumented

  • Undocumented

    Declaration

    Swift

    @_spi(FW)
    public nonisolated(unsafe) static var imageDecodeBlock: (@Sendable (_ data: Data, _ scale: CGFloat, _ options: [ImageCoderOptions : Any]?) -> UIImage?)?
  • Undocumented

    Declaration

    Swift

    open var imageScale: CGFloat
  • Undocumented

    Declaration

    Swift

    open var automaticallyInflatesResponseImage: Bool
  • Undocumented

    Declaration

    Swift

    open var shouldCacheResponseData: Bool
  • Undocumented

    Declaration

    Swift

    override public init()
  • Undocumented

    Declaration

    Swift

    public static func cachedResponseData(for image: UIImage) -> Data?
  • Undocumented

    Declaration

    Swift

    public static func clearCachedResponseData(for image: UIImage)
  • Undocumented

    Declaration

    Swift

    override open func responseObject(for response: URLResponse?, data: Data) throws -> Any