GoogleXSSIPreprocessor

public struct GoogleXSSIPreprocessor : DataPreprocessor

DataPreprocessor that trims Google’s typical )]}',\n XSSI JSON header.

  • Creates an instance.

    Declaration

    Swift

    public init()
  • Declaration

    Swift

    public func preprocess(_ data: Data) throws -> Data