FindReplaceFloret
public class FindReplaceFloret : InterceptingFloret
A FindReplaceFloret
uses RecordModifier
s to modify a Record
before sending a request and after receiving a response. Use multiple
instances of the FindReplaceFloret
s 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
willRequestModifiers
The RecordModifiers used to modify a Record before sending a request.
didRespondModifiers
The RecordModifiers used to modify a Record after receiving a response.
name
Can be used to describe the set of choosen RecordModifiers. The default name is
FindReplaceFloret
.description
Provide additional description what this floret does that is exposed in the UI