Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Garnier (0.15 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

      private var source: BufferedSource?,
      private var sink: BufferedSink?,
      private val pingIntervalMillis: Int,
      internal val connectionListener: ConnectionListener,
    ) : Http2Connection.Listener(), Connection, ExchangeCodec.Carrier {
      private var http2Connection: Http2Connection? = null
    
      internal val lock: ReentrantLock = ReentrantLock()
    
      // These properties are guarded by [lock].
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      fun response308WithOptions() {
        testRedirect(false, "OPTIONS")
      }
    
      @Test
      fun response308WithPost() {
        testRedirect(false, "POST")
      }
    
      /**
       * In OkHttp 4.5 and earlier, HTTP 307 and 308 redirects were only honored if the request method
       * was GET or HEAD.
       *
       * In OkHttp 4.6 and later, HTTP 307 and 308 redirects are honored for all request methods.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

     */
    class Http1ExchangeCodec(
      /** The client that configures this stream. May be null for HTTPS proxy tunnels. */
      private val client: OkHttpClient?,
      override val carrier: ExchangeCodec.Carrier,
      private val source: BufferedSource,
      private val sink: BufferedSink,
    ) : ExchangeCodec {
      private var state = STATE_IDLE
      private val headersReader = HeadersReader(source)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

      internal val routes: List<Route>?,
      private val attempt: Int,
      private val tunnelRequest: Request?,
      internal val connectionSpecIndex: Int,
      internal val isTlsFallback: Boolean,
    ) : RoutePlanner.Plan, ExchangeCodec.Carrier {
      /** True if this connect was canceled; typically because it lost a race. */
      @Volatile private var canceled = false
    
      // These properties are initialized by connect() and never reassigned.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

        recurrence: Boolean,
      ): Boolean {
        task.initQueue(this)
    
        val now = taskRunner.backend.nanoTime()
        val executeNanoTime = now + delayNanos
    
        // If the task is already scheduled, take the earlier of the two times.
        val existingIndex = futureTasks.indexOf(task)
        if (existingIndex != -1) {
          if (task.nextExecuteNanoTime <= executeNanoTime) {
            taskRunner.logger.taskLog(task, this) { "already scheduled" }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

        @JvmStatic
        fun X509Certificate.sha256Hash(): ByteString = publicKey.encoded.toByteString().sha256()
    
        /**
         * Returns the SHA-256 of `certificate`'s public key.
         *
         * In OkHttp 3.1.2 and earlier, this returned a SHA-1 hash of the public key. Both types are
         * supported, but SHA-256 is preferred.
         */
        @JvmStatic
        fun pin(certificate: Certificate): String {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  7. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

            fl2WRY8hb4x+zRrwsFaLEpdEvqcjOQ==
            -----END CERTIFICATE-----
            """.trimIndent(),
          )
        assertThat(verifier.verify("127.0.0.1", session)).isFalse()
      }
    
      /**
       * Earlier implementations of Android's hostname verifier required that wildcard names wouldn't
       * match "*.com" or similar. This was a nonstandard check that we've since dropped. It is the CA's
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 40.3K bytes
    - Viewed (0)
  8. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/internal/http2/Http2ExchangeCodec;->createRequestBody(Lokhttp3/Request;J)Lokio/Sink;
    HSPLokhttp3/internal/http2/Http2ExchangeCodec;->finishRequest()V
    HSPLokhttp3/internal/http2/Http2ExchangeCodec;->getCarrier()Lokhttp3/internal/http/ExchangeCodec$Carrier;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_3x.md

        methods track the system's local time when network calls are made. These
        replace the `OkHttp-Sent-Millis` and `OkHttp-Received-Millis` headers that were
        present in earlier versions of OkHttp.
     *  New: Accept user-provided trust managers in `OkHttpClient.Builder`. This
        allows OkHttp to satisfy its TLS requirements directly. Otherwise OkHttp
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt

    import okhttp3.internal.platform.Platform
    import okhttp3.internal.platform.Platform.Companion.isAndroid
    
    /**
     * Simple non-reflection SocketAdapter for Android Q+.
     *
     * These API assumptions make it unsuitable for use on earlier Android versions.
     */
    @SuppressLint("NewApi")
    @SuppressSignatureCheck
    class Android10SocketAdapter : SocketAdapter {
      override fun matchesSocket(sslSocket: SSLSocket): Boolean = SSLSockets.isSupportedSocket(sslSocket)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top