Hi,
Thank you for this library.
Have a question how to accomplish this with it.
I dont want to write to ByteArrayOutputStream and then send it.
URL url = new URL(urlStr);
HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();
ObjectOutputStream objOut = new ObjectOutputStream(new BufferedOutputStream(urlConnection.getOutputStream()));
objOut.writeObject("Hello");
objOut.flush();
objOut.close();
Hi,
Thank you for this library.
Have a question how to accomplish this with it.
I dont want to write to ByteArrayOutputStream and then send it.
URL url = new URL(urlStr);
HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();
ObjectOutputStream objOut = new ObjectOutputStream(new BufferedOutputStream(urlConnection.getOutputStream()));
objOut.writeObject("Hello");
objOut.flush();
objOut.close();