Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for expose (0.18 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt

        if (body != null) {
          assertThat(event.responseBody).isEqualTo(body)
        }
        assertThat(event.t.javaClass).isEqualTo(cls)
        assertThat(event.t.message).isEqualTo(message)
      }
    
      /** Expose this recorder as a frame callback and shim in "ping" events.  */
      fun asFrameCallback() =
        object : WebSocketReader.FrameCallback {
          override fun onReadMessage(text: String) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. okhttp/build.gradle.kts

           has changed. That is the purpose of this normalization block.
       */
        ignore("okhttp3/osgi/workspace/cnf/repo/index.xml.gz")
        ignore("okhttp3/osgi/workspace/cnf/repo/index.xml.gz.sha")
      }
    }
    
    // Expose OSGi jars to the test environment.
    val osgiTestDeploy: Configuration by configurations.creating
    
    val copyOsgiTestDeployment by tasks.creating(Copy::class.java) {
      from(osgiTestDeploy)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/build.gradle.kts

    import com.vanniktech.maven.publish.KotlinJvm
    
    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.logging",
      "Automatic-Module-Name: okhttp3.logging",
      "Bundle-SymbolicName: com.squareup.okhttp3.logging"
    )
    
    dependencies {
      api(projects.okhttp)
      compileOnly(libs.findbugs.jsr305)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 842 bytes
    - Viewed (0)
  4. okhttp-tls/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
      id("ru.vyarus.animalsniffer")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.tls",
      "Automatic-Module-Name: okhttp3.tls",
      "Bundle-SymbolicName: com.squareup.okhttp3.tls"
    )
    
    dependencies {
      api(libs.squareup.okio)
      implementation(projects.okhttp)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 06 05:31:00 GMT 2024
    - 1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

    import okhttp3.internal.platform.Platform
    import okhttp3.internal.threadName
    import okio.AsyncTimeout
    import okio.Timeout
    
    /**
     * Bridge between OkHttp's application and network layers. This class exposes high-level application
     * layer primitives: connections, requests, responses, and streams.
     *
     * This class supports [asynchronous canceling][cancel]. This is intended to have the smallest
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  6. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      fun postBodyRetransmittedAfterAuthorizationFail_HTTP_2() {
        platform.assumeHttp2Support()
        enableProtocol(Protocol.HTTP_2)
        postBodyRetransmittedAfterAuthorizationFail("abc")
      }
    
      /** Don't explode when resending an empty post. https://github.com/square/okhttp/issues/1131  */
      @Test
      fun postEmptyBodyRetransmittedAfterAuthorizationFail() {
        postBodyRetransmittedAfterAuthorizationFail("")
      }
    
    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)
  7. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        pongQueue.add(payload)
        runWriter()
        receivedPingCount++
      }
    
      @Synchronized override fun onReadPong(payload: ByteString) {
        // This API doesn't expose pings.
        receivedPongCount++
        awaitingPong = false
      }
    
      override fun onReadClose(
        code: Int,
        reason: String,
      ) {
        require(code != -1)
    
        synchronized(this) {
    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)
  8. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

          }
    
        /**
         * Sets the socket factory used to secure HTTPS connections. If unset, the system default will
         * be used.
         *
         * @deprecated [SSLSocketFactory] does not expose its [X509TrustManager], which is a field that
         *     OkHttp needs to build a clean certificate chain. This method instead must use reflection
         *     to extract the trust manager. Applications should prefer to call
    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)
  9. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

        @JvmField val TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA = init("TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA", 0x0026)
    
        // @JvmField val TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA = init("TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA", 0x0027)
        @JvmField val TLS_KRB5_EXPORT_WITH_RC4_40_SHA = init("TLS_KRB5_EXPORT_WITH_RC4_40_SHA", 0x0028)
    
        @JvmField val TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5 = init("TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5", 0x0029)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 39.9K bytes
    - Viewed (1)
  10. okhttp/src/test/java/okhttp3/TestTls13Request.kt

        CipherSuite.TLS_CHACHA20_POLY1305_SHA256,
        CipherSuite.TLS_AES_128_CCM_SHA256,
        CipherSuite.TLS_AES_128_CCM_8_SHA256,
      )
    
    /**
     * A TLS 1.3 only Connection Spec. This will be eventually be exposed
     * as part of MODERN_TLS or folded into the default OkHttp client once published and
     * available in JDK11 or Conscrypt.
     */
    private val TLS_13 =
      ConnectionSpec.Builder(true)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
Back to top