SafeDK
Sign upAdd Your SDK

An HTTP+HTTP/2 client for Android and Java applications.

OkHttp is an HTTP client that’s efficient by default:

- 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 perseveres when the network is troublesome: it will silently recover from common connection problems. If your service has multiple IP addresses OkHttp will attempt alternate addresses if the first connect fails. This is necessary for IPv4+IPv6 and for services hosted in redundant data centers. OkHttp initiates new connections with modern TLS features (SNI, ALPN), and falls back to TLS 1.0 if the handshake fails.

Using OkHttp is easy. Its request/response API is designed with fluent builders and immutability. It supports both synchronous blocking calls and async calls with callbacks.

SDK for Android

Fix a major bug in encoding HTTP headers. In 3.4.0 and 3.4.0-RC1 OkHttp had an off-by-one bug in our HPACK encoder. This bug could have caused the wrong headers to be emitted after a sequence of HTTP/2 requests! Everyone who is using OkHttp 3.4.0 or 3.4.0-RC1 should upgrade for this bug fix.

Documentation

Example A

Selected Apps that use this SDK

O3dpmshvw4oiebsw7oxkjrkovhz4sq35etbvn kltmsrxxn1xggeeqnjiyu03fxza1wqqpdkudcwkouf

Keyboard Plus Emoji

Ycwp6ze0px4geeleh4cu 9s3izrboc6tmsyfgdmplmai5cr8vwjh7upnls zbdz13kqbq0kvut9twyv3

AppTrailers

Hogs3xqd08uix0achgycrpbotquqprelg6lht6s2hxonkqh qj5qh5ft4p3iy3 938rqbstyhnnhnvhj

Wishbone - Compare Anything

Shry5 n0prlsbqmsmaroskecg0zozx3ffuxi07eqkipux 6aks8rhtatpjquqjd0f0quyl vpsjljpgx

Moovz- The LGBT Social Network

8jxrxsbxjxitacg5du9svqecbyy auqf rjrjjunuglh727mc0sbxmtm3h9occeveo1nr  brrlvdgau

Lucktastic - Win Prizes

Similar SDKs

MORE

Reviews

Rate Now
0
0
0
0
0
0

Start a new discussion about OkHttp

×
0
/1000

More from this Developer

  • free

    OPENSOURCE

    Phrase is an Android string resource templating library.

  • free

    OPENSOURCE

    A memory leak detection library for Android and Java.How does it work?  RefWatcher.watch() create...

  • free

    OPENSOURCE

    Moshi is a modern JSON library for Android and Java. It makes it easy to parse JSON into Java obj...

MORE
Login