All Versions
13
Latest Version
Avg Release Cycle
76 days
Latest Release
1507 days ago

Changelog History
Page 1

  • v1.7.1

    October 20, 2020
  • v1.6.1 Changes

    February 10, 2020
    var files = [RMFormDataFile]()let file = RMFormDataFile("picture", image.jpegData(compressionQuality: 1.0), "avatar.jpeg", "image/jpeg") files.append(file)let params = ["field1": arbitration.auction.id!, "description":"sample test"]let request = APIRequestBuilder().buildFormRequest(api: urlString, params: param, files: files)
    
  • v1.6.0 Changes

    February 10, 2020
    let name1 = RMParams(key: "names[]", value: "roger")let name2 = RMParams(key: "names[]", value: "molas")let booleanType = RMParams(key: "boolean", value: true)let number = RMParams(key: "number", value: 100)let floatNumber = RMParams(key: "float", value: 1.0)let params = [name1, name2, booleanType, number, floatNumber]let urlString = "https://httpbin.org/post"request = RMRequest(urlString, .GET(.URLEncoding), params, nil)return request
    

    Form-data Add file

    let request = RMRequest(url: URL(string: urlString)!) request.addForm(field: "file", file: imgData, fileName: "image.jpeg", mimeType: "image/jpeg") request.setHttp(method: .POST(.FomDataEncoding))return request
    

    โšก๏ธ Updates Added:
    #6 #5

  • v1.5.0 Changes

    January 13, 2020

    Add form-data fields from params

    RMRequest(urlString, method: .POST(.FomDataEncoding), parameters: params, hearders: nil)
    

    Custom form data request

     let request = RMRequest(url: URL(string: urlString)!) request.setHttp(method: .POST(.FomDataEncoding)) request.setFormData(fields: params)
    

    or

     request.setHttpBody(data: customDataBody)
    
  • v1.4.1

    August 28, 2019
  • v1.4 Changes

    May 07, 2019

    ๐Ÿ‘ Swift 5.0 Support
    ๐Ÿ›  Fix crash if error is null
    ๐Ÿ›  Fix logging optional value

  • v1.3.1 Changes

    September 23, 2018

    ๐Ÿ›  FIX : issue #4

  • v1.3

    June 28, 2018
  • v1.2.2

    May 29, 2018
  • v1.2.1

    May 25, 2018