Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for Greaves (0.22 sec)

  1. docs/changelogs/changelog_2x.md

     *  New: ConnectionSpec can now be configured to use the SSL socket's default
        cipher suites. To use, set the cipher suites to `null`.
     *  New: Support `DELETE` with a request body.
     *  New: `Headers.of(Map)` creates headers from a Map.
    
    
    ## Version 2.2.0
    
    _2014-12-30_
    
     *  **`RequestBody.contentLength()` now throws `IOException`.**
        This is a source-incompatible change. If you have code that calls
    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)
  2. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

            snapshot1.assertValue(1, "a")
            snapshot2.assertValue(1, "a")
          }
        }
      }
    
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
      fun `remove while reading creates zombie that is removed when read finishes`(parameters: Pair<FileSystem, Boolean>) {
        setUp(parameters.first, parameters.second)
        val afterRemoveFileContents = if (windows) "a" else null
    
        set("k1", "a", "a")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

          this.certificatePinner =
            builder.certificatePinner
              .withCertificateChainCleaner(certificateChainCleaner!!)
        }
    
        verifyClientState()
      }
    
      /**
       * Creates an [Address] of out of the provided [HttpUrl]
       * that uses this client’s DNS, TLS, and proxy configuration.
       */
      fun address(url: HttpUrl): Address {
        var useSslSocketFactory: SSLSocketFactory? = null
    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)
  4. okhttp/src/main/kotlin/okhttp3/EventListener.kt

       */
      open fun cacheConditionalHit(
        call: Call,
        cachedResponse: Response,
      ) {
      }
    
      fun interface Factory {
        /**
         * Creates an instance of the [EventListener] for a particular [Call]. The returned
         * [EventListener] instance will be used during the lifecycle of [call].
         *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       */
      fun useHttps(sslSocketFactory: SSLSocketFactory) {
        this.sslSocketFactory = sslSocketFactory
      }
    
      /**
       * Configure the server to not perform SSL authentication of the client. This leaves
       * authentication to another layer such as in an HTTP cookie or header. This is the default and
       * most common configuration.
       */
      fun noClientAuth() {
        this.clientAuth = CLIENT_AUTH_NONE
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

              fileSystem.deleteIfExists(entry.cleanFiles[t])
              fileSystem.deleteIfExists(entry.dirtyFiles[t])
            }
            i.remove()
          }
        }
      }
    
      /**
       * Creates a new journal that omits redundant information. This replaces the current journal if it
       * exists.
       */
      @Synchronized
      @Throws(IOException::class)
      internal fun rebuildJournal() {
        journalWriter?.close()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

      }
    
      private fun newEmptyKeyStore(keyStoreType: String?): KeyStore {
        return KeyStore.getInstance(keyStoreType ?: KeyStore.getDefaultType()).apply {
          val inputStream: InputStream? = null // By convention, 'null' creates an empty key store.
          load(inputStream, password)
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

       * messages. This does nothing if the web socket has already been closed or canceled.
       */
      fun cancel()
    
      fun interface Factory {
        /**
         * Creates a new web socket and immediately returns it. Creating a web socket initiates an
         * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        val actual = source!!.buffer().readUtf8()
        assertThat(actual).isEqualTo(expected)
      }
    
      /**
       * Returns true when all work currently in progress by the watchdog have completed. This method
       * creates more work for the watchdog and waits for that work to be executed. When it is, we know
       * work that preceded this call is complete.
       */
      private fun awaitWatchdogIdle() {
        val latch = CountDownLatch(1)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
Back to top