The FMPUtils.RequestResponseParser.Builder class is a builder for the FMPUtils.RequestResponseParser class.
class Builder
Method | Description |
json(_:) | Save JSON structure, with which FMPUtils.RequestResponseParser will work, to variable. func json(_ json: NSDictionary) -> Builder Parameters:
|
build() | Build an instance of the FMPUtils.RequestResponseParser class. It returns the object of the FMPUtils.RequestResponseParser type. func build() -> FMPUtils.RequestResponseParser |
Build an instance of the FMPUtils.RequestResponseParser class:
// Build an instance of the FMPUtils.RequestResponseParser class
let requestResponse: FMPUtils.RequestResponseParser = FMPUtils().requestResponse
.json(["key":"value"]) // By default [:]
.build()
See also: