biskuteri-cafe-JKomasto2/RequestListener.java
Snowyfox e4f13ad8c8 Added attempt at using AttributedString.
Somewhat works now, but I think we'll abandon it..
2022-05-14 18:04:46 -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);
}