package org.loader.andnet.net;


/**
 * Created by qibin on 2015/11/29.
 */
public interface INetStack<T> {

    void get(final String url, final Net.Parser<T> parser,
             final Net.Callback<T> callback, final Object tag);

    void post(final String url, final RequestParams params,
              final Net.Parser<T> parser,
              final Net.Callback<T> callback,
              final Object tag);

    void post(final String url, final String json,
              final Net.Parser<T> parser,
              final Net.Callback<T> callback,
              final Object tag);

    void put(final String url, final RequestParams params,
             final Net.Parser<T> parser,
             final Net.Callback<T> callback,
             final Object tag);

    void put(final String url, final String json,
             final Net.Parser<T> parser,
             final Net.Callback<T> callback,
             final Object tag);

    void delete(final String url, final Net.Parser<T> parser,
                final Net.Callback<T> callback, final Object tag);

    void onNetResponse(final Net.Parser<T> parser,
                       final Net.Callback<T> callback,
                       final String response);

    void onError(final Net.Callback<T> callback, final String msg);

    void cancel(final Object tag);
}

@@ -1316,10 +1316,60 @@
 t tag);%0A
+    %0A    LinkedHashMap%3CString, String%3E headers();%0A
 %7D%0A

Update INetStack.java