FHIRRequestOption
public struct FHIRRequestOption: OptionSet
Options to pass along to request handlers.
-
Options to pass along to request handlers.
Declaration
Swift
public let rawValue: Int -
Designated initializer. Without this, Swift 3.0 compiler wants to insert a million
public structand will still complain…Declaration
Swift
public init(rawValue: Int) -
Add a
_summary=trueparameter to only receive a summary of the resource.Declaration
Swift
public static let summary = FHIRRequestOption(rawValue: 1) -
Tolerate JSON validation errors when receiving a response, i.e. don’t throw upon instantiation, use what’s provided.
Declaration
Swift
public static let lenient = FHIRRequestOption(rawValue: 2)
View on GitHub
Install in Dash
FHIRRequestOption Struct Reference