package com.mayi.fastdevelop.http;

import java.io.File;

public interface IHttp {

    //上传文件
    public void uploadFile(String url, File file, ResultCallback callback);

    //发起get请求
    public void performSynGetHttpRequest(String url, ResultCallback callback);

    //发起post请求
    public void performSynPostHttpRequest(String url, String json, ResultCallback callback);

}
