mirror of
https://github.com/square/okhttp.git
synced 2025-11-02 15:33:18 +03:00
- define `@get:JvmName(...)` for the following vals in constructor instead of passing `builder: Builder`. - `request: Request` - `protocol: Protocol` - `message: String` - `code: Int` - `handshake: Handshake?` - `headers: Headers` - `body: ResponseBody?` - `networkResponse: Response?` - `cacheResponse: Response?` - `priorResponse: Response?` - `sentRequestAtMillis: Long` - `receivedResponseAtMillis: Long` - `exchange: Exchange?` - add `@Deprecated(...)` to the following functions. - `fun request(): Request` - `fun protocol(): Protocol` - `fun message(): String` - `fun code(): Int` - `fun handshake(): Handshake?` - `fun headers(): Headers` - `fun body(): ResponseBody?` - `fun networkResponse(): Response?` - `fun cacheResponse(): Response?` - `fun priorResponse(): Response?` - `fun sentRequestAtMillis(): Long` - `fun receivedResponseAtMillis(): Long` - `fun cacheControl(): CacheControl` - clean up code where `()`(parentheses) is unnecessarily used.
OkHttp DNS over HTTPS Implementation
This module is an experimental implementation of DNS over HTTPS using OkHttp. API is not considered stable and may change at any time.