What is OkHttp?
HTTP is the way modern applications network. It’s how we exchange data & media. Doing HTTP efficiently makes your stuff load faster and saves bandwidth.
OkHttp is a tool in the API Tools category of a tech stack.
Who uses OkHttp?
14 companies reportedly use OkHttp in their tech stacks, including Tokopedia, Avito, and IWB.
43 developers on StackShare have stated that they use OkHttp.
- HTTP/2 support allows all requests to the same host to share a socket.
- Connection pooling reduces request latency (if HTTP/2 isn’t available).
- Transparent GZIP shrinks download sizes.
- Response caching avoids the network completely for repeat requests
OkHttp Alternatives & Comparisons
What are some alternatives to OkHttp?
See all alternatives
Retrofit turns your HTTP API into a Java interface
Netty is a NIO client server framework which enables quick and easy development of network applications such as protocol servers and clients. It greatly simplifies and streamlines network programming such as TCP and UDP socket server.
It is the only complete API development environment, used by nearly five million developers and more than 100,000 companies worldwide.
Amazon API Gateway
Amazon API Gateway handles all the tasks involved in accepting and processing up to hundreds of thousands of concurrent API calls, including traffic management, authorization and access control, monitoring, and API version management.
Insomnia REST Client
Insomnia is a powerful REST API Client with cookie management, environment variables, code generation, and authentication for Mac, Window, and Linux.