OkHttp + Restricted APIs

1 · Jesse Wilson · Feb. 25, 2020, 4:16 a.m.
Certain TLS features like Server Name Indication (SNI) and Application-Layer Protocol Negotiation (ALPN) existed in Android before they had public APIs. The code was there; there just wasn’t a good way to use it. OkHttp hacks around such limitations with reflection. Our internal platform package integrates both Android and...