Questions tagged [asynchttpclient]

Asynchronous HTTP client library for Java

See the GitHub repo for more information. In essence:

AsyncHttpClient allows Java applications to easily execute HTTP requests and asynchronously process the HTTP responses. Feature-packed, wicked fast, and actively maintained.

323 questions
0
votes
1 answer

Unable to post data through HttpClient PostAsync

I am using HttpClient to send the data to the server through C# console application using post . The HttpClient PostAsync is unable to post the data I have tried to send in various format i.e string content , binary content , stream content , http…
priya poojari
  • 11
  • 1
  • 3
0
votes
1 answer

how to use apache async http client since this is not working

I have a very simple client like so private void start() throws IOReactorException, InterruptedException { DefaultHttpAsyncClient client = new DefaultHttpAsyncClient(); HttpAsyncRequestProducer prod =…
Dean Hiller
  • 19,235
  • 25
  • 129
  • 212
-1
votes
1 answer

Please tell me how to get the body of the sent POST request in AsyncHttpClient in the onFailure method

here is an example of my code. (Dependencies implementation 'com.loopj.android:android-async-http:1.4.11') AsyncHttpClient asyncHttpClient = new AsyncHttpClient(); asyncHttpClient.addHeader("secret", "123"); JSONObject jsonParams = new…
-1
votes
2 answers

Multithreaded c# console app to scrape data from sites

I have written an app that goes through our own properties and scraps the data. To make sure I don't run through the same URLs, I am using a MySQL database to store the URL, flag it once its processed. All this was being done in a single thread and…
Subrato M
  • 159
  • 1
  • 12
-1
votes
1 answer

IIS Express bad hostname android studio

I know the question has been asked a milion times but I still can't figure out why it is not working. I want to access my asp .net api from my android emulator( android studio) but I always get error 400 hostname invalid. I have looked every topic…
Lucas Tambarin
  • 395
  • 3
  • 14
-1
votes
2 answers

The type Header is deprecated AsyncHttpResponseHandler()

I am Using AsyncHttpClient in all my projects. But recently I saw that type Header[] is Deprecated. Is it like I can no longer get Header[] in response ? Is there any optional method that I can use ? I am using android-async-http-1.4.6 version Your…
Shabbir Dhangot
  • 8,954
  • 10
  • 58
  • 80
-2
votes
1 answer

How to Write dry code for progress dialog

I'm creating an application that sends many requests to server from several Activity a fragment. i want to show ProgressDialog in request send methods, in this case, I want to write one time a code to show ProgressDialog and I don't want to write…
-2
votes
1 answer

Use AsyncHttpClient post request with loopj library on using Token Based Authentication

I am getting response in Postman with same url and token. I am sure that there is issue in Passing token with Post Request. Can anyone help me?
Pratik Sule
  • 163
  • 4
  • 18
1 2 3
21
22