import java.util.function.Consumer;
import net.pterodactylus.fcp.Key;
+import net.pterodactylus.fcp.RequestProgress;
/**
* FCP command that inserts data into Freenet.
*/
public interface ClientPutCommand {
+ ClientPutCommand onProgress(Consumer<RequestProgress> requestProgressConsumer);
ClientPutCommand onKeyGenerated(Consumer<String> keyGenerated);
ClientPutCommand named(String targetFilename);
WithUri redirectTo(String uri);