aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoushik Dutta <koush@koushikdutta.com>2015-08-21 19:44:47 -0700
committerKoushik Dutta <koush@koushikdutta.com>2015-08-21 19:44:47 -0700
commit6bff3f26de70944a0ce72215b309d979f5867440 (patch)
tree5e392ab596e7cda6615091817b172d70a61fcb4a
parentc953017c1b80cc1af613db77adae90b4242e3ca3 (diff)
parent2ad70c7b3502ed47708cd80636acd3c267666136 (diff)
downloadAndroidAsync-6bff3f26de70944a0ce72215b309d979f5867440.tar.gz
AndroidAsync-6bff3f26de70944a0ce72215b309d979f5867440.tar.bz2
AndroidAsync-6bff3f26de70944a0ce72215b309d979f5867440.zip
Merge pull request #382 from mkonecny/master
Update README.md
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index d19487a..181bf4d 100644
--- a/README.md
+++ b/README.md
@@ -133,7 +133,7 @@ AsyncHttpClient.getDefaultInstance().websocket(get, "my-protocol", new WebSocket
}
});
webSocket.setDataCallback(new DataCallback() {
- public void onDataAvailable(ByteBufferList byteBufferList) {
+ public void onDataAvailable(DataEmitter emitter, ByteBufferList byteBufferList) {
System.out.println("I got some bytes!");
// note that this data has been read
byteBufferList.recycle();