what-the-bank/sources/okhttp3/repackaged/internal/http/HttpStream.java

29 lines
793 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package okhttp3.repackaged.internal.http;
import java.io.IOException;
import o.giX;
import okhttp3.repackaged.Request;
import okhttp3.repackaged.Response;
import okhttp3.repackaged.ResponseBody;
/* loaded from: classes6.dex */
public interface HttpStream {
public static final int DISCARD_STREAM_TIMEOUT_MILLIS = 100;
void cancel();
giX createRequestBody(Request request, long j) throws IOException;
void finishRequest() throws IOException;
ResponseBody openResponseBody(Response response) throws IOException;
Response.Builder readResponseHeaders() throws IOException;
void setHttpEngine(HttpEngine httpEngine);
void writeRequestBody(RetryableSink retryableSink) throws IOException;
void writeRequestHeaders(Request request) throws IOException;
}