Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for assemble (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

            addPart(Part.createFormData(name, filename, body))
          }
    
          /** Add a part to the body. */
          fun addPart(part: Part) =
            apply {
              parts += part
            }
    
          /** Assemble the specified parts into a request body. */
          fun build(): MultipartBody {
            check(parts.isNotEmpty()) { "Multipart body must have at least one part." }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.9K bytes
    - Viewed (0)
Back to top