Companion
object Companion
Properties
Link copied to clipboard
Unencrypted, unauthenticated connections for http:
URLs.
Link copied to clipboard
A backwards-compatible fallback configuration that works on obsolete client platforms and can connect to obsolete servers. When possible, prefer to upgrade your client platform or server rather than using this configuration.
Link copied to clipboard
A modern TLS configuration that works on most client platforms and can connect to most servers. This is OkHttp's default configuration.
Link copied to clipboard
A secure TLS connection that requires a recent client platform and a recent server.