我为Uri投入了什么?我正在使用EventSource for android a git
private void connect() {
Thread eventThread = new Thread(new Runnable() {
@Override
public void run() {
try {
eventSource = new EventSource(Uri, new SSEHandler(), extraHeaderParameters, true);
eventSource.connect();
} catch(URISyntaxException e) {
Log.v("Error starting eventsource", "True");
}
}
});
eventThread.start();
}