MultipartForm icon indicating copy to clipboard operation
MultipartForm copied to clipboard

Implementing progress handler when uploading multipart/form-data

Open abdul-abdu opened this issue 4 years ago • 1 comments

abdul-abdu avatar Oct 05 '21 06:10 abdul-abdu

You can probably do it and implement it yourself like so:

// store this to a strong var.
uploadProgressObservation = task.progress.observe(\.fractionCompleted) { fraction, _ in
  print("processUploadRequest upload progress -> \(fraction.fractionCompleted)")
}

glennposadas avatar Jun 22 '23 10:06 glennposadas