AndroidAsync
AndroidAsync copied to clipboard
Asynchronous socket, http(s) (client+server) and websocket library for android. Based on nio, not threads.
When I upload files to the server on the client, asynchtpserver can't get the data stream uploaded by the client
Following codes, run many times, the response header disordered. public void onRequest(AsyncHttpServerRequest req, final AsyncHttpServerResponse resp) { ... pool.execute(new Runnable() { @Override public void run() { .... resp.send(fm.contentType(), fm.read()); resp.end();...
hello,I am a learner of the AndroidAsync, I want to create a HttpServer on a activity ,while the activity is finished, the httpServer shoud be destoryed , I tried it...
When using http client, I want to distribute requests by some parameters. For example use http DNS. Is there a way to specify different DNS lookup for each request? Thanks!
I have a simple server in android that I'm trying to access from my PC. I have setup the endpoints like this ```java server.get("/status", new HttpServerRequestCallback() { @Override public void...
I am trying to send a semi-large JSON payload over a web socket but it doesn't seem to work. The size of the message is about 5MB; it contains some...
There is a problem when a large (>345 kB) message is being written to a websocket. The connection will actually time out, unless this `while` is in place. Unfortunately, this...
Per RFC 6455 `10.4. Implementation-Specific Limits` client can choose a maximum frame size. It seems that in `private byte[] frame(int opcode, byte [] data, int errorCode, int dataOffset, int dataLength)`...
MultipartFormDataBody formData is no data! multipart/form-data?form have file