Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 35 of 35 for readTimeout (0.11 sec)

  1. okhttp/api/okhttp.api

    	public final fun proxySelector (Ljava/net/ProxySelector;)Lokhttp3/OkHttpClient$Builder;
    	public final fun readTimeout (JLjava/util/concurrent/TimeUnit;)Lokhttp3/OkHttpClient$Builder;
    	public final fun readTimeout (Ljava/time/Duration;)Lokhttp3/OkHttpClient$Builder;
    	public final fun readTimeout-LRDsOJo (J)Lokhttp3/OkHttpClient$Builder;
    	public final fun retryOnConnectionFailure (Z)Lokhttp3/OkHttpClient$Builder;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        builder = builder.connectTimeout(0L, TimeUnit.SECONDS)
        builder = builder.connectTimeout(Duration.ofSeconds(0L))
        builder = builder.readTimeout(0L, TimeUnit.SECONDS)
        builder = builder.readTimeout(Duration.ofSeconds(0L))
        builder = builder.writeTimeout(0L, TimeUnit.SECONDS)
        builder = builder.writeTimeout(Duration.ofSeconds(0L))
        builder = builder.pingInterval(0L, TimeUnit.SECONDS)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/EventListenerTest.kt

      fun failedCallEventSequence() {
        server.enqueue(
          MockResponse.Builder()
            .headersDelay(2, TimeUnit.SECONDS)
            .build(),
        )
        client =
          client.newBuilder()
            .readTimeout(Duration.ofMillis(250))
            .build()
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .build(),
          )
        assertFailsWith<IOException> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  4. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

            ),
          )
        assertThat(response.code).isEqualTo(200)
        assertContent("Body", response)
        response.close()
        assertThat(server.requestCount).isEqualTo(2)
      }
    
      @Test
      fun readTimeouts() {
        // This relies on the fact that MockWebServer doesn't close the
        // connection after a response has been sent. This causes the client to
        // try to read more bytes than are sent, which results in a timeout.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  5. api/go1.txt

    pkg net/http, type Server struct
    pkg net/http, type Server struct, Addr string
    pkg net/http, type Server struct, Handler Handler
    pkg net/http, type Server struct, MaxHeaderBytes int
    pkg net/http, type Server struct, ReadTimeout time.Duration
    pkg net/http, type Server struct, TLSConfig *tls.Config
    pkg net/http, type Server struct, WriteTimeout time.Duration
    pkg net/http, type Transport struct
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top