类的使用
com.lark.oapi.okhttp.MultipartBody.Builder
使用MultipartBody.Builder的程序包
-
com.lark.oapi.okhttp中MultipartBody.Builder的使用
修饰符和类型方法说明MultipartBody.Builder.addFormDataPart(String name, String value) Add a form data part to the body.MultipartBody.Builder.addFormDataPart(String name, String filename, RequestBody body) Add a form data part to the body.MultipartBody.Builder.addPart(Headers headers, RequestBody body) Add a part to the body.MultipartBody.Builder.addPart(MultipartBody.Part part) Add a part to the body.MultipartBody.Builder.addPart(RequestBody body) Add a part to the body.Set the MIME type.