Empty

public struct Empty : HttpBody, Hashable

The empty HTTP body is used as default for all requests and sets no HTTP body at all.

Initialization

  • Initializes a new empty HTTP body. The initializer does nothing.

    Declaration

    Swift

    public init()

HttpBody

  • Declaration

    Swift

    public func add(to request: inout URLRequest) throws
  • Declaration

    Swift

    public var description: String { get }