Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 64 for esbuild (0.18 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

          HeldCertificate.Builder()
            .certificateAuthority(1)
            .build()
        val clientIntermediate =
          HeldCertificate.Builder()
            .certificateAuthority(0)
            .signedBy(clientRoot)
            .build()
        val clientCertificate =
          HeldCertificate.Builder()
            .signedBy(clientIntermediate)
            .build()
        val serverRoot =
          HeldCertificate.Builder()
            .certificateAuthority(1)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

            .build()
        server.enqueue(
          MockResponse.Builder()
            .addHeader("SeNsItIvE", "Value").addHeader("Not-Sensitive", "Value")
            .build(),
        )
        val response =
          client
            .newCall(
              request()
                .addHeader("SeNsItIvE", "Value")
                .addHeader("Not-Sensitive", "Value")
                .build(),
            )
            .execute()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
  3. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

      private lateinit var dns: Dns
      private val cacheFs = FakeFileSystem()
      private val bootstrapClient =
        OkHttpClient.Builder()
          .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1))
          .build()
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
        server.protocols = bootstrapClient.protocols
        dns = buildLocalhost(bootstrapClient, false)
      }
    
      @Test
      fun getOne() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 11K bytes
    - Viewed (0)
  4. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

              .build(),
          )
          .setDnsOptions(
            DnsOptions.Builder()
              .setUseHttpStackDnsResolver(DnsOptions.DNS_OPTION_ENABLED)
              .setStaleDns(DnsOptions.DNS_OPTION_ENABLED)
              .setPersistHostCache(DnsOptions.DNS_OPTION_ENABLED)
              .build(),
          )
          .setQuicOptions(
            QuicOptions.Builder()
    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)
  5. okhttp/src/main/kotlin/okhttp3/Cache.kt

     * directive:
     *
     * ```java
     * Request request = new Request.Builder()
     *     .cacheControl(new CacheControl.Builder().noCache().build())
     *     .url("http://publicobject.com/helloworld.txt")
     *     .build();
     * ```
     *
     * If it is only necessary to force a cached response to be validated by the server, use the more
     * efficient `max-age=0` directive instead:
     *
     * ```java
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  6. container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt

          val client =
            OkHttpClient.Builder()
              .proxy(Proxy(Proxy.Type.HTTP, it.remoteAddress()))
              .build()
    
          val response =
            client.newCall(
              Request((mockServer.endpoint + "/person?name=peter").toHttpUrl()),
            ).execute()
    
          assertThat(response.body.string()).contains("Peter the person")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  7. okhttp-android/src/test/kotlin/okhttp3/android/RobolectricOkHttpClientTest.kt

          OkHttpClient.Builder()
            .cache(Cache(FakeFileSystem(), "/cache".toPath(), 10_000_000))
            .build()
      }
    
      @Test
      fun testRequestExternal() {
        assumeNetwork()
    
        val request = Request("https://www.google.com/robots.txt".toHttpUrl())
    
        val networkRequest =
          request.newBuilder()
            .build()
    
        val call = client.newCall(networkRequest)
    
        call.execute().use { response ->
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

        else -> toInt()
      }
    }
    
    internal fun CacheControl.Companion.commonForceNetwork() =
      CacheControl.Builder()
        .noCache()
        .build()
    
    internal fun CacheControl.Companion.commonForceCache() =
      CacheControl.Builder()
        .onlyIfCached()
        .maxStale(Int.MAX_VALUE.seconds)
        .build()
    
    internal fun CacheControl.Builder.commonBuild(): CacheControl {
      return CacheControl(
        noCache = noCache,
        noStore = noStore,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  9. build.gradle.kts

    Jesse Wilson <******@****.***> 1713403962 -0400
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:32:42 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        } finally {
          user.removePlanToCancel(this)
          if (!success) {
            socket?.closeQuietly()
            rawSocket?.closeQuietly()
          }
        }
      }
    
      /** Does all the work necessary to build a full HTTP or HTTPS connection on a raw socket. */
      @Throws(IOException::class)
      private fun connectSocket() {
        val rawSocket =
          when (route.proxy.type()) {
    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)
Back to top