Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for pingInterval (0.1 sec)

  1. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * [will fail with an IOException][java.io.IOException].
         *
         * The default value of 0 disables client-initiated pings.
         */
        fun pingInterval(
          interval: Long,
          unit: TimeUnit,
        ) = apply {
          pingInterval = checkDuration("interval", interval, unit)
        }
    
        /**
         * Sets the interval between HTTP/2 and web socket pings initiated by this client. Use this to
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  2. okhttp/api/okhttp.api

    	public final fun networkInterceptors ()Ljava/util/List;
    	public final fun pingInterval (JLjava/util/concurrent/TimeUnit;)Lokhttp3/OkHttpClient$Builder;
    	public final fun pingInterval (Ljava/time/Duration;)Lokhttp3/OkHttpClient$Builder;
    	public final fun pingInterval-LRDsOJo (J)Lokhttp3/OkHttpClient$Builder;
    	public final fun protocols (Ljava/util/List;)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)
  3. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        protocol: Protocol,
        mockWebServer: MockWebServer,
      ) {
        setUp(protocol, mockWebServer)
        // Ping every 500 ms, starting at 500 ms.
        client =
          client.newBuilder()
            .pingInterval(Duration.ofMillis(500))
            .build()
    
        // Delay the response to give 1 ping enough time to be sent and replied to.
        server.enqueue(
          MockResponse.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_3x.md

     *  Fix: Don't drop a call to `EventListener.callEnd()` when the response body is consumed inside an
        interceptor.
    
    
    ## Version 3.10.0
    
    _2018-02-24_
    
     *  **The pingInterval() feature now aggressively checks connectivity for web
        sockets and HTTP/2 connections.**
    
        Previously if you configured a ping interval that would cause OkHttp to send
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  5. docs/bucket/notifications/README.md

    tls                               (on|off)    set to 'on' to enable TLS
    tls_skip_verify                   (on|off)    trust server TLS without verification, defaults to "on" (verify)
    ping_interval                     (duration)  client ping commands interval in s,m,h,d. Disabled by default
    streaming                         (on|off)    set to 'on', to use streaming NATS server
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
Back to top