biskuteri-cafe-JKomasto2/RequestListener.java
Snowyfox 511ca1aeef Moved image methods to ImageApi.
Added testing implementation of updater.
2022-04-14 00:38:49 -04:00

32 lines
433 B
Java

import cafe.biskuteri.hinoki.Tree;
import java.io.IOException;
interface
RequestListener {
void
connectionFailed(IOException eIo);
void
requestFailed(int httpCode, Tree<String> json);
void
requestSucceeded(Tree<String> json);
}
interface
ServerSideEventsListener {
void
connectionFailed(IOException eIo);
void
requestFailed(int httpCode, Tree<String> json);
void
lineReceived(String line);
}