multipartForm
Convenience function to write the MultipartForm to the message body and set the content type.
fun Body.Companion.multipartForm(validator: Validator, vararg parts: Lens<MultipartForm, *>, defaultBoundary: String = MULTIPART_BOUNDARY, diskThreshold: Int = DEFAULT_DISK_THRESHOLD, contentTypeFn: (String) -> ContentType = ::MultipartFormWithBoundary, getDiskLocation: () -> DiskLocation = { DiskLocation.Temp() }, maxStreamLength: Int = MultipartFormBody.MAX_STREAM_LENGTH, maxPartCount: Int = MultipartFormBody.MAX_PART_COUNT): BiDiBodyLensSpec<MultipartForm>(source)