FHIRRequestHeaders

public struct FHIRRequestHeaders

Struct to hold request headers. By default, the Accept-Charset header is set to utf-8 upon initialization.

  • All the headers the instance is holding on to.

    Declaration

    Swift

    public var headers: [FHIRRequestHeaderField: String]
  • Undocumented

    Declaration

    Swift

    public struct FHIRRequestHeaders
  • Prepare a given mutable URL request with the receiver’s values.

    Declaration

    Swift

    public func prepare(request: inout URLRequest)