Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for pingIntervalMillis (0.16 sec)

  1. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val connectTimeoutMillis: Int = client.connectTimeoutMillis()
        val readTimeoutMillis: Int = client.readTimeoutMillis()
        val writeTimeoutMillis: Int = client.writeTimeoutMillis()
        val pingIntervalMillis: Int = client.pingIntervalMillis()
      }
    
      @Test @Disabled
      fun pushPromise() {
        val pushPromise = PushPromise("", "", Headers.of(), MockResponse())
        val method: String = pushPromise.method()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. docs/changelogs/upgrading_to_okhttp_4.md

       connectTimeoutMillis, connectionPool, connectionSpecs, cookieJar, dispatcher, dns,
       eventListenerFactory, followRedirects, followSslRedirects, hostnameVerifier, interceptors,
       networkInterceptors, pingIntervalMillis, protocols, proxy, proxyAuthenticator, proxySelector,
       readTimeoutMillis, retryOnConnectionFailure, socketFactory, sslSocketFactory, writeTimeoutMillis
     * **PushPromise**: headers, method, path, response
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

        assertThat(client.connectTimeoutMillis).isEqualTo(10000)
        assertThat(client.readTimeoutMillis).isEqualTo(10000)
        assertThat(client.writeTimeoutMillis).isEqualTo(10000)
        assertThat(client.pingIntervalMillis).isEqualTo(0)
        assertThat(client.webSocketCloseTimeout).isEqualTo(60_000)
      }
    
      @Test fun webSocketDefaults() {
        val client = clientTestRule.newClient()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val connectTimeoutMillis: Int = client.connectTimeoutMillis
        val readTimeoutMillis: Int = client.readTimeoutMillis
        val writeTimeoutMillis: Int = client.writeTimeoutMillis
        val pingIntervalMillis: Int = client.pingIntervalMillis
        val call: Call = client.newCall(Request.Builder().build())
        val webSocket: WebSocket =
          client.newWebSocket(
            Request.Builder().build(),
            object : WebSocketListener() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

          ).build(),
      ): RealWebSocket {
        val webSocket =
          RealWebSocket(
            TaskRunner.INSTANCE,
            request,
            clientListener,
            random,
            client.pingIntervalMillis.toLong(),
            null,
            0L,
            client.webSocketCloseTimeout.toLong(),
          )
        webSocket.connect(client)
        return webSocket
      }
    
      private fun closeWebSockets(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          RealWebSocket(
            taskRunner = taskRunner,
            originalRequest = fancyRequest,
            listener = webSocketResponse.webSocketListener!!,
            random = SecureRandom(),
            pingIntervalMillis = 0,
            extensions = WebSocketExtensions.parse(webSocketResponse.headers),
            // Compress all messages if compression is enabled.
            minimumDeflateSize = 0L,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  7. okhttp/api/okhttp.api

    	public fun newBuilder ()Lokhttp3/OkHttpClient$Builder;
    	public fun newCall (Lokhttp3/Request;)Lokhttp3/Call;
    	public fun newWebSocket (Lokhttp3/Request;Lokhttp3/WebSocketListener;)Lokhttp3/WebSocket;
    	public final fun pingIntervalMillis ()I
    	public final fun protocols ()Ljava/util/List;
    	public final fun proxy ()Ljava/net/Proxy;
    	public final fun proxyAuthenticator ()Lokhttp3/Authenticator;
    	public final fun proxySelector ()Ljava/net/ProxySelector;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top