FHIRClientOperation
public protocol FHIRClientOperation
FHIRClientOperation that can be handled by the FHIRClient
-
The associated return type
Declaration
Swift
associatedtype Value -
Relative url string used to compose the endpoint
Declaration
Swift
var relativeUrlString: String? { get } -
Operation HTTP-Headers
Declaration
Swift
var httpHeaders: [String : String] { get } -
Operation method
Declaration
Swift
var httpMethod: HTTPMethod { get } -
Operation HTTP-Body
Declaration
Swift
var httpBody: Data? { get } -
Handle the FHIRClient.Response and parse/format the return Value
Throws
an Error when parsing failedDeclaration
Swift
func handle(response: FHIRClient.Response) throws -> ValueParameters
responsethe FHIR response from server
Return Value
the parsed/formatted Value
View on GitHub
FHIRClientOperation Protocol Reference