RequestBody

public enum RequestBody

The body of a RequestConvertible type.

  • An empty/non-existent body.

    Declaration

    Swift

    case none
  • A body consisting of the wrapped data.

    Declaration

    Swift

    case data(Data)
  • A body whose data is provided by the wrapped stream.

    Declaration

    Swift

    case stream(InputStream)