BodyType

public enum BodyType

Defines body type of a request

  • JSON body type

    Declaration

    Swift

    case jsonObject([String : Any])
  • JSON Array body type

    Declaration

    Swift

    case jsonArray([[String : Any]])
  • URL encoded form body type

    Declaration

    Swift

    case urlencodedForm([String : String])
  • Data body type

    Declaration

    Swift

    case data(Data)
  • Multipart form body type

    Declaration

    Swift

    case multipart(MultipartForm)
  • Empty body

    Declaration

    Swift

    case empty