biskuteri-cafe-JKomasto2/RequestListener.java
Snowyfox 174df078a5 Added UI prototype for attachments uploading.
Fixed text selection bug.
2022-05-21 21:41: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);
}