- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 55 for Implementation (0.21 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt
} /** * Apply inbound settings and send an acknowledgement to the peer that provided them. * * We need to apply the settings and ack them atomically. This is because some HTTP/2 * implementations (nghttp2) forbid peers from taking advantage of settings before they have * acknowledged! In particular, we shouldn't send frames that assume a new `initialWindowSize`
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 32.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt
/** The maximum size of bytes that may be sent in a single call to [data]. */ fun maxDataLength(): Int = maxFrameSize /** * `source.length` may be longer than the max length of the variant's data frame. Implementations * must send multiple frames as necessary. * * @param source the buffer to draw bytes from. May be null if byteCount is 0.
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 11.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt
get() { val preferredProvider = Security.getProviders()[0].name return "BC" == preferredProvider } /** Attempt to match the host runtime to a capable Platform implementation. */ private fun findPlatform(): Platform = if (isAndroid) { findAndroidPlatform() } else { findJvmPlatform() } private fun findAndroidPlatform(): Platform {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt
fun isCacheable( response: Response, request: Request, ): Boolean { // Always go to network for uncacheable response codes (RFC 7231 section 6.1), This // implementation doesn't support caching partial content. when (response.code) { HTTP_OK, HTTP_NOT_AUTHORITATIVE, HTTP_NO_CONTENT, HTTP_MULT_CHOICE, HTTP_MOVED_PERM,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 15 13:24:48 UTC 2024 - 12K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
* attackerCa * -> attackerIntermediate * -> phonyVictim * ``` * * Some implementations fail the TLS handshake when they see the long chain, and don't give * CertificatePinner the opportunity to produce a different chain from their own. This includes * the OpenJDK 11 TLS implementation, which itself fails the handshake when it encounters a non-CA * certificate. */ @Test
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt
/** * An [RFC 3492] punycode decoder for converting ASCII to Unicode domain name labels. This is * intended for use in Internationalized Domain Names (IDNs). * * This class contains a Kotlin implementation of the pseudocode specified by RFC 3492. It includes * direct translation of the pseudocode presented there. * * Partner this class with [UTS #46] to implement IDNA2008 [RFC 5890] like most browsers do. *
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 03 03:04:50 UTC 2024 - 8.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Authenticator.kt
* ``` * * ## Reactive Authentication * * Implementations authenticate by returning a follow-up request that includes an authorization * header, or they may decline the challenge by returning null. In this case the unauthenticated * response will be returned to the caller that triggered it. * * Implementations should check if the initial request already included an attempt to
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MultipartBody.kt
companion object { /** * The "mixed" subtype of "multipart" is intended for use when the body parts are independent * and need to be bundled in a particular order. Any "multipart" subtypes that an implementation * does not recognize must be treated as being of subtype "mixed". */ @JvmField val MIXED = "multipart/mixed".toMediaType() /**
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt
import okhttp3.internal.readMedium import okio.Buffer import okio.BufferedSource import okio.ByteString import okio.Source import okio.Timeout /** * Reads HTTP/2 transport frames. * * This implementation assumes we do not send an increased [frame][Settings.getMaxFrameSize] to the * peer. Hence, we expect all frames to have a max length of [Http2.INITIAL_MAX_FRAME_SIZE]. */ class Http2Reader(
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 19.9K bytes - Viewed (0) -
okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetCookieJar.kt
*/ @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") package okhttp3 import java.net.CookieHandler /** * A cookie jar that delegates to a [java.net.CookieHandler]. * * This implementation delegates everything to [okhttp3.java.net.cookiejar.JavaNetCookieJar], which * conforms to the package-naming limitations of JPMS. * * Callers should prefer to use [okhttp3.java.net.cookiejar.JavaNetCookieJar] directly.
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.3K bytes - Viewed (0)