FindReplaceFloret
public class FindReplaceFloret : InterceptingFloret
A FindReplaceFloret uses RecordModifiers to modify a Record
before sending a request and after receiving a response. Use multiple
instances of the FindReplaceFlorets to group certain RecordModifiers
under a given name.
-
Declaration
Swift
public var enabled: Bool -
Declaration
Swift
public let name: String -
Declaration
Swift
public var description: String? -
This init will create a FindReplaceFloret with RecordModifiers to modify Records.
Declaration
Swift
public init(willRequestModifiers: [RecordModifier] = [], didRespondModifiers: [RecordModifier] = [], name: String = "FindReplaceFloret", description: String? = nil)Parameters
willRequestModifiersThe RecordModifiers used to modify a Record before sending a request.
didRespondModifiersThe RecordModifiers used to modify a Record after receiving a response.
nameCan be used to describe the set of choosen RecordModifiers. The default name is
FindReplaceFloret.descriptionProvide additional description what this floret does that is exposed in the UI
View on GitHub
FindReplaceFloret Class Reference