FHIRDataRequestHandler
open class FHIRDataRequestHandler: FHIRBaseRequestHandler
PRELIMINARY! Prepare and handle a request returning some type of data.
If you use this as PUT/POST, you are responsible for setting the data property to an appropriate NSData representation. The Accept
and
Content-Type
headers will be set to the contentType property
-
Undocumented
Declaration
Swift
open class FHIRDataRequestHandler: FHIRBaseRequestHandler -
PRELIMINARY! Prepare and handle a request returning some type of data.
If you use this as PUT/POST, you are responsible for setting the
dataproperty to an appropriate NSData representation. TheAccept
andContent-Type
headers will be set to thecontentTypepropertyDeclaration
Swift
public required init(_ method: FHIRRequestMethod, resource: Resource?) -
PRELIMINARY! Prepare and handle a request returning some type of data.
If you use this as PUT/POST, you are responsible for setting the
dataproperty to an appropriate NSData representation. TheAccept
andContent-Type
headers will be set to thecontentTypepropertyDeclaration
Swift
override open func prepareData() throws -
PRELIMINARY! Prepare and handle a request returning some type of data.
If you use this as PUT/POST, you are responsible for setting the
dataproperty to an appropriate NSData representation. TheAccept
andContent-Type
headers will be set to thecontentTypepropertyDeclaration
Swift
override open func prepare(request: inout URLRequest) throws
View on GitHub
Install in Dash
FHIRDataRequestHandler Class Reference