secure
If set to true, requests will be made over HTTPS.
Deafults to true.
If set to true, requests will be made over HTTPS.
Defaults to true. Keep true for HTTP/2 — HTTP/2 is only negotiated over TLS via ALPN; OkHttp does not support HTTP/2 over cleartext (h2c).