Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for Skinner (0.15 sec)

  1. okhttp/src/main/kotlin/okhttp3/MultipartReader.kt

          currentPart = partSource
          return Part(headers, partSource.buffer())
        }
    
        /** A single part in the stream. It is an error to read this after calling [nextPart]. */
        private inner class PartSource : Source {
          private val timeout = Timeout()
    
          override fun close() {
            if (currentPart == this) {
              currentPart = null
            }
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_3x.md

     *  Fix: Use `X509TrustManagerExtensions` on Android 17+.
     *  Fix: Unblock waiting dispatchers on MockWebServer shutdown.
    
    
    ## Version 3.2.0
    
    _2016-02-25_
    
     *  Fix: Change the certificate pinner to always build full chains. This
        prevents a potential crash when using certificate pinning with the Google
        Play Services security provider.
     *  Fix: Make IPv6 request lines consistent with Firefox and Chrome.
    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)
  3. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      private fun gzip(bytes: String): Buffer {
        val bytesOut = Buffer()
        val sink = GzipSink(bytesOut).buffer()
        sink.writeUtf8(bytes)
        sink.close()
        return bytesOut
      }
    
      internal inner class AsyncRequest(
        val path: String,
        val countDownLatch: CountDownLatch,
      ) : Runnable {
        override fun run() {
          try {
            val call =
              client.newCall(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt

      }
    
      override fun sameHostAndPort(url: HttpUrl): Boolean {
        return url.host == address.url.host && url.port == address.url.port
      }
    
      override fun close() {
        factory.close()
      }
    
      inner class FakePlan(
        val id: Int,
      ) : RoutePlanner.Plan {
        var planningThrowable: Throwable? = null
        var canceled = false
        var connectState = ConnectState.READY
        val connection =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      )
    
      abstract class Streams(
        val client: Boolean,
        val source: BufferedSource,
        val sink: BufferedSink,
      ) : Closeable {
        abstract fun cancel()
      }
    
      private inner class WriterTask : Task("$name writer") {
        override fun runOnce(): Long {
          try {
            if (writeOneFrame()) return 0L
          } catch (e: IOException) {
            failWebSocket(e = e, isWriter = true)
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_2x.md

    OkHttp 2.x Change Log
    =====================
    
    ## Version 2.7.5
    
    _2016-02-25_
    
     *  Fix: Change the certificate pinner to always build full chains. This
        prevents a potential crash when using certificate pinning with the Google
        Play Services security provider.
    
    
    ## Version 2.7.4
    
    _2016-02-07_
    
     *  Fix: Don't crash when finding the trust manager if the Play Services (GMS)
        security provider is installed.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          return Http2Connection(this)
        }
      }
    
      /**
       * Methods in this class must not lock FrameWriter. If a method needs to write a frame, create an
       * async task to do so.
       */
      inner class ReaderRunnable internal constructor(
        internal val reader: Http2Reader,
      ) : Http2Reader.Handler, () -> Unit {
        override fun invoke() {
          var connectionErrorCode = ErrorCode.INTERNAL_ERROR
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/EventListenerTest.kt

            .isEqualTo(expectedProtocol)
        }
        val callFailed = listener.removeUpToEvent<CallFailed>()
        assertThat(callFailed.ioe).isNotNull()
        assertThat(request.ioe).isNotNull()
      }
    
      private inner class NonCompletingRequestBody : RequestBody() {
        private val chunk: ByteArray? = ByteArray(1024 * 1024)
        var ioe: IOException? = null
    
        override fun contentType(): MediaType? {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

            if (hostnameVerifier != this.hostnameVerifier) {
              this.routeDatabase = null
            }
    
            this.hostnameVerifier = hostnameVerifier
          }
    
        /**
         * Sets the certificate pinner that constrains which certificates are trusted. By default HTTPS
         * connections rely on only the [SSL socket factory][sslSocketFactory] to establish trust.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Address.kt

     * explicitly requested), this also includes that proxy information. For secure connections the
     * address also includes the SSL socket factory, hostname verifier, and certificate pinner.
     *
     * HTTP requests that share the same [Address] may also share the same [Connection].
     */
    class Address(
      uriHost: String,
      uriPort: Int,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top