com.hn.im.easemob.api.RestAPIInvoker Maven / Gradle / Ivy
package com.hn.im.easemob.api;
import com.hn.im.easemob.comm.wrapper.BodyWrapper;
import com.hn.im.easemob.comm.wrapper.HeaderWrapper;
import com.hn.im.easemob.comm.wrapper.QueryWrapper;
import com.hn.im.easemob.comm.wrapper.ResponseWrapper;
import java.io.File;
public interface RestAPIInvoker {
ResponseWrapper sendRequest(String method, String url, HeaderWrapper header, BodyWrapper body, QueryWrapper query);
ResponseWrapper uploadFile(String url, HeaderWrapper header, File file);
ResponseWrapper downloadFile(String url, HeaderWrapper header, QueryWrapper query);
ResponseWrapper downloadFile(String url);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy