程序包 com.lark.oapi.okhttp
package com.lark.oapi.okhttp
An HTTP+HTTP/2 client for Android and Java applications.
-
类说明A specification for a connection to an origin server.Performs either preemptive authentication before connecting to a proxy server, or reactive authentication after receiving a challenge from either an origin web server or proxy server.Caches HTTP and HTTPS responses to the filesystem so they may be reused, saving time and bandwidth.A Cache-Control header with cache directives from a server or client.Builds a
Cache-Controlrequest header.A call is a request that has been prepared for execution.Constrains which certificates are trusted.Builds a configured certificate pinner.An RFC 7235 challenge.The sockets and streams of an HTTP, HTTPS, or HTTPS+HTTP/2 connection.Manages reuse of HTTP and HTTP/2 connections for reduced network latency.Specifies configuration for the socket connection that HTTP traffic travels through.An RFC 6265 Cookie.Builds a cookie.Provides policy and persistence for HTTP cookies.Factory for HTTP authorization credentials.Policy on when async requests are executed.A domain name service that resolves IP addresses for host names.Listener for metrics events.A record of a TLS handshake.The header fields of a single HTTP message.A uniform resource locator (URL) with a scheme of eitherhttporhttps.Observes, modifies, and potentially short-circuits requests going out and the corresponding responses coming back in.An RFC 2045 Media Type, appropriate to describe the content type of an HTTP request or response body.An RFC 2387-compliant request body.Factory for calls, which can be used to send HTTP requests and read their responses.Protocols that OkHttp implements for ALPN selection.An HTTP request.An HTTP response.A one-shot stream from the origin server to the client application with the raw bytes of the response body.The concrete route used by a connection to reach an abstract origin server.Versions of TLS that can be offered when negotiating a secure socket.A non-blocking interface to a web socket.