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 data property to an appropriate NSData representation. The Accept and Content-Type headers will be set to the contentType property

    Declaration

    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 data property to an appropriate NSData representation. The Accept and Content-Type headers will be set to the contentType property

    Declaration

    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 data property to an appropriate NSData representation. The Accept and Content-Type headers will be set to the contentType property

    Declaration

    Swift

    override open func prepare(request: inout URLRequest) throws