- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 13 for pingInterval (0.1 seconds)
-
cmd/listen-notification-handlers.go
) if p := values.Get("ping"); p != "" { pingInterval, err := strconv.Atoi(p) if err != nil { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidQueryParams), r.URL) return } if pingInterval < 1 { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidQueryParams), r.URL) return } t := time.NewTicker(time.Duration(pingInterval) * time.Second) defer t.Stop() emptyEventTicker = t.C
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/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 toCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 51.5K bytes - Click Count (0) -
internal/event/target/nats.go
Secure bool `json:"secure"` CertAuthority string `json:"certAuthority"` ClientCert string `json:"clientCert"` ClientKey string `json:"clientKey"` PingInterval int64 `json:"pingInterval"` QueueDir string `json:"queueDir"` QueueLimit uint64 `json:"queueLimit"` JetStream struct { Enable bool `json:"enable"` } `json:"jetStream"`
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Apr 27 04:30:57 GMT 2025 - 13.5K bytes - Click Count (0) -
internal/config/notify/parse.go
TLSSkipVerify: env.Get(tlsSkipVerifyEnv, kv.Get(target.NATSTLSSkipVerify)) == config.EnableOn, TLSHandshakeFirst: env.Get(tlsHandshakeFirstEnv, kv.Get(target.NATSTLSHandshakeFirst)) == config.EnableOn, PingInterval: pingInterval, QueueDir: env.Get(queueDirEnv, kv.Get(target.NATSQueueDir)), QueueLimit: queueLimit, RootCAs: rootCAs, }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 47.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
closeWebSockets(webSocket, server) } @Test @Throws(Exception::class) fun clientPingsServerOnInterval() { client = client .newBuilder() .pingInterval(Duration.ofMillis(500)) .build() webServer.enqueue( MockResponse .Builder() .webSocketUpgrade(serverListener) .build(), ) val webSocket = newWebSocket()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 35.5K bytes - Click Count (0) -
okhttp/api/jvm/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;
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
okhttp/api/android/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;
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
.isEqualTo(1) } @Test fun pingsTransmitted() { // 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()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 67.5K bytes - Click Count (0) -
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
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
builder = builder.readTimeout(Duration.ofSeconds(0L)) builder = builder.writeTimeout(0L, TimeUnit.SECONDS) builder = builder.writeTimeout(Duration.ofSeconds(0L)) builder = builder.pingInterval(0L, TimeUnit.SECONDS) builder = builder.pingInterval(Duration.ofSeconds(0L)) builder = builder.proxy(Proxy.NO_PROXY) builder = builder.proxySelector(NullProxySelector) builder = builder.cookieJar(CookieJar.NO_COOKIES)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0)