Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 151 for com (0.51 sec)

  1. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt

        val encoded = encodeQuery("google.com", TYPE_A)
        assertThat(encoded).isEqualTo("AAABAAABAAAAAAAABmdvb2dsZQNjb20AAAEAAQ")
      }
    
      private fun encodeQuery(
        host: String,
        type: Int,
      ): String {
        return DnsRecordCodec.encodeQuery(host, type).base64Url().replace("=", "")
      }
    
      @Test
      fun testGoogleDotComEncodingWithIPv6() {
        val encoded = encodeQuery("google.com", TYPE_AAAA)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

              .build(),
          )
          .setQuicOptions(
            QuicOptions.Builder()
              .addAllowedQuicHost("google.com")
              .addAllowedQuicHost("www.google.com")
              .build(),
          )
          .addQuicHint("google.com", 443, 443)
          .addQuicHint("www.google.com", 443, 443)
          .build()
    
      @After
      fun tearDown() {
        engine.shutdown()
        cacheDir.deleteRecursively()
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 24 13:19:43 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  3. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

    import java.net.InetAddress
    import java.net.UnknownHostException
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    
    /**
     * Temporary registry of known DNS over HTTPS providers.
     *
     * https://github.com/curl/curl/wiki/DNS-over-HTTPS
     */
    object DohProviders {
      private fun buildGoogle(bootstrapClient: OkHttpClient): DnsOverHttps {
        return DnsOverHttps.Builder()
          .client(bootstrapClient)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 10:26:25 GMT 2023
    - 3.8K bytes
    - Viewed (3)
  4. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

      }
    
      @Test fun testHostname() {
        val headers = headersOf("Host", "host-from-header.com")
        val socket =
          FakeSocket(
            localAddress =
              InetAddress.getByAddress(
                "host-from-address.com",
                byteArrayOf(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
              ),
            localPort = 80,
          )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  5. okhttp-brotli/README.md

    sending requests.
    
    ```java
    OkHttpClient client = new OkHttpClient.Builder()
      .addInterceptor(BrotliInterceptor.INSTANCE)
      .build();
    ```
    
    ```kotlin
    implementation("com.squareup.okhttp3:okhttp-brotli:4.12.0")
    ```
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 572 bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

        } catch (e: InvocationTargetException) {
          // https://github.com/square/okhttp/issues/5587
          val cause = e.cause
          when {
            cause is NullPointerException && cause.message == "ssl == null" -> null
            else -> throw AssertionError(e)
          }
        }
      }
    
      companion object {
        val playProviderFactory: DeferredSocketAdapter.Factory =
          factory("com.google.android.gms.org.conscrypt")
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. okhttp-android/README.md

    OkHttp Android
    ==============
    
    Enhanced APIs for using OkHttp on Android.
    
    At the moment, this will mostly likely only be useful for fastFallback.
    
    Download
    --------
    
    ```kotlin
    implementation("com.squareup.okhttp3:okhttp-android:4.12.0")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 242 bytes
    - Viewed (0)
  8. okhttp-sse/README.md

    OkHttp Server-Sent Events
    =========================
    
    Experimental support for server-sent events.
    API is not considered stable and may change at any time.
    
    ### Download
    
    ```kotlin
    testImplementation("com.squareup.okhttp3:okhttp-sse:4.12.0")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 245 bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt

            "Parsing: <http://192.0x00A80001> against <about:blank>",
            "Parsing: <http://%30%78%63%30%2e%30%32%35%30.01> against <http://other.com/>",
            "Parsing: <http://192.168.0.257> against <http://other.com/>",
            "Parsing: <http://0Xc0.0250.01> against <http://other.com/>",
          )
    
        private fun loadTests(): List<WebPlatformUrlTestData> {
          val resourceAsStream =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  10. okhttp-hpacktests/README.md

     * Make hpack-test-case update itself from git, and run new tests.
     * Add maven goal to generate stories and a pull request to hpack-test-case
       to have others validate our output.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Dec 15 16:59:53 GMT 2014
    - 578 bytes
    - Viewed (0)
Back to top