- Notifications
You must be signed in to change notification settings - Fork4.1k
An asynchronous, callback-based Http client for Android built on top of Apache's HttpClient libraries.
License
android-async-http/android-async-http
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
An asynchronous, callback-based Http client for Android built on top of Apache'sHttpClient libraries.
See what is new in version 1.4.11 released on 29th June 2020
https://github.com/android-async-http/android-async-http/blob/1.4.11/CHANGELOG.md
Latest Javadoc for 1.4.11 release are available here (also included in Maven repository):
https://android-async-http.github.io/android-async-http/doc/
- Makeasynchronous HTTP requests, handle responses inanonymous callbacks
- HTTP requests happenoutside the UI thread
- Requests use athreadpool to cap concurrent resource usage
- GET/POSTparams builder (RequestParams)
- Multipart file uploads with no additional third party libraries
- Tiny size overhead to your application, only60kb for everything
- Automatic smartrequest retries optimized for spotty mobile connections
- Automaticgzip response decoding support for super-fast requests
- Optional built-in response parsing intoJSON (JsonHttpResponseHandler)
- Optionalpersistent cookie store, saves cookies into your app's SharedPreferences
- Support sni with Conscrypt on older android device (wiki)
For inspiration and testing on device we've provided Sample Application.
See individual sampleshere on Github
To run Sample application, simply clone the repository and run this command, to install it on connected device
gradle :sample:installDebug
You can now integrate this library in your project via Maven. There are available two kind of builds.
releases, maven central
https://repo1.maven.org/maven2/com/loopj/android/android-async-http/
Maven URL: https://repo1.maven.org/maven2/GroupId: com.loopj.androidArtifactId: android-async-httpVersion: 1.4.11Packaging: JAR or AAR
Gradle
repositories { mavenCentral()}dependencies { implementation'com.loopj.android:android-async-http:1.4.11'}
development snapshotssnapshot might not be published yet
https://oss.sonatype.org/content/repositories/snapshots/com/loopj/android/android-async-http/
Maven URL: https://oss.sonatype.org/content/repositories/snapshots/GroupId: com.loopj.androidArtifactId: android-async-httpVersion: 1.4.12-SNAPSHOTPackaging: JAR or AAR
Gradle
repositories { maven { url'https://oss.sonatype.org/content/repositories/snapshots/' }}dependencies { implementation'com.loopj.android:android-async-http:1.4.11-SNAPSHOT'}
Full details and documentation can be found on the project page here:
About
An asynchronous, callback-based Http client for Android built on top of Apache's HttpClient libraries.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.