AndroidAsync
AndroidAsync copied to clipboard
Asynchronous socket, http(s) (client+server) and websocket library for android. Based on nio, not threads.
version [3.1.0](androidasync:3.1.0)
My application used several libraries, including this one. And now Google has sent me a notification that there is an error related to Tracking via a link http://atracking-auto.astrodsp.com/ . Is...
Based on the JavaDocs, I had presumed that `stop()`, called on an `AsyncHttpServer`, would revert the `listen()` call and stop the server from listening on the port. That does not...
Server side code: ``` public class AsyncMessageReceiver extends Thread implements AsyncHttpServer.WebSocketRequestCallback { static final String TAG = "BRTC/AsyncMessageReceiver"; int listenPort; AsyncHttpServer asyncHttpServer; List sockets = new ArrayList(); Map id2sockets =...
I'm not sure if this project is still maintained, try asking. I have configured a proxy with authentication in my android project. There are two options to achieve 1. extends...
it says that this library is single threaded, I want my websocket server to keep running even though the app is in background. Is it possible? from the source code...
I'm writing a tcp client to connect multiple hosts asynchronously. After I called `Util.writeAll`, I want to call `setDataCallback()` after write completed, then write something when `onDataAvailable` callback completed, and...
when connect to web service thows this exception : ' FATAL EXCEPTION: AsyncServer , PID: 3343 java.lang.AssertionError at com.koushikdutta.async.AsyncSSLSocketWrapper.write(AsyncSSLSocketWrapper.java:390) at com.koushikdutta.async.AsyncSSLSocketWrapper.handleHandshakeStatus(AsyncSSLSocketWrapper.java:276) at com.koushikdutta.async.AsyncSSLSocketWrapper.handshake(AsyncSSLSocketWrapper.java:114) at com.koushikdutta.async.http.AsyncSSLSocketMiddleware.tryHandshake(AsyncSSLSocketMiddleware.java:89) at com.koushikdutta.async.http.AsyncSSLSocketMiddleware$2.onConnectCompleted(AsyncSSLSocketMiddleware.java:106) at com.koushikdutta.async.AsyncServer.runLoop(AsyncServer.java:849) at...
Recently noticed this issue on android 12 and 13. ``` Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'byte[] java.lang.String.getBytes(java.lang.String)' on a null object reference at com.koushikdutta.async.http.HybiParser.decode(HybiParser.java:482) at com.koushikdutta.async.http.HybiParser.frame(HybiParser.java:335) at...