okhttp / okhttp3 / MultipartBody / Builder / setType

setType

fun setType(type: MediaType): MultipartBody.Builder

Set the MIME type. Expected values for type are MIXED (the default), ALTERNATIVE, DIGEST, PARALLEL and FORM.