https://github.com/twitter/whiskey
HTTP library for Android (beta)
https://github.com/twitter/whiskey
Last synced: 6 months ago
JSON representation
HTTP library for Android (beta)
- Host: GitHub
- URL: https://github.com/twitter/whiskey
- Owner: twitter
- License: apache-2.0
- Created: 2015-04-30T16:15:49.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-04-10T11:48:53.000Z (over 2 years ago)
- Last Synced: 2024-05-09T19:34:55.019Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 268 KB
- Stars: 131
- Watchers: 87
- Forks: 35
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# whiskey
This is beta software. Bug reports and contribution are welcome, but caution should be exercised in deployment.
Whiskey is a Java HTTP library based on nio and intended especially to address the needs of Android mobile clients. It has no external dependencies.
The library shares some code with Netty's codec implementations, but adopts a client performance-focused approach to handling HTTP requests. It has also been developed specifically for support of newer protocols: SPDY, HTTP/2 and QUIC.
The application interface is designed to be extremely flexible, and supports both streaming and atomic operations, with both synchronous and asynchronous interaction.
The internals of the library are built to support lock-free and zero-copy operation, with most logic executing on a single internal run loop managing many sockets.