io.hyperfoil.api.connection.HttpConnection Maven / Gradle / Ivy
package io.hyperfoil.api.connection;
import java.util.function.BiConsumer;
import java.util.function.BiFunction;
import io.netty.buffer.ByteBuf;
import io.hyperfoil.api.session.Session;
/**
* @author Julien Viet
*/
public interface HttpConnection extends Connection {
void request(HttpRequest request,
BiConsumer[] headerAppenders,
BiFunction bodyGenerator);
HttpRequest peekRequest(int streamId);
void setClosed();
boolean isClosed();
}