larksuite-oapi/src/main/java/com/larksuite/oapi/okhttp3_14/OkHttpClient.java
@IgnoreJRERequirement
    public Builder pingInterval(Duration duration) {
      pingInterval = checkDuration("timeout", duration.toMillis(), TimeUnit.MILLISECONDS);
      return this;
    }
/**
     * Sets the interval between HTTP/2 and web socket pings initiated by this client. Use this to
     * automatically send ping frames until either the connection fails or it is closed. This keeps
     * the connection alive and may detect connectivity failures.
     *
     * <p>If the server does not respond to each ping with a pong within {@code interval}, this
     * client will assume that connectivity has been lost. When this happens on a web socket the
     * connection is canceled and its listener is {@linkplain WebSocketListener#onFailure notified
     * of the failure}. When it happens on an HTTP/2 connection the connection is closed and any
     * calls it is carrying {@linkplain java.io.IOException will fail with an IOException}.
     *
     * <p>The default value of 0 disables client-initiated pings.
     */
Sets the interval between HTTP/2 and web socket pings initiated by this client. Use this to
automatically send ping frames until either the connection fails or it is closed. This keeps
the connection alive and may detect connectivity failures.

If the server does not respond to each ping with a pong within  interval, this
client will assume that connectivity has been lost. When this happens on a web socket the
connection is canceled and its listener is {@linkplain WebSocketListener#onFailure notified
of the failure}. When it happens on an HTTP/2 connection the connection is closed and any
calls it is carrying  java.io.IOException will fail with an IOException.

The default value of 0 disables client-initiated pings.
Sets the interval between HTTP / 2 and web socket pings initiated by this client . Use this to automatically send ping frames until either the connection fails or it is closed . This keeps the connection alive and may detect connectivity failures . If the server does not respond to each ping with a pong within interval this client will assume that connectivity has been lost . When this happens on a web socket the connection is canceled and its listener is { @linkplain WebSocketListener#onFailure notified of the failure } . When it happens on an HTTP / 2 connection the connection is closed and any calls it is carrying java . io . IOException will fail with an IOException . The default value of 0 disables client - initiated pings .
@IgnoreJRERequirement
    public Builder pingInterval(Duration duration) {
      pingInterval = checkDuration("timeout", duration.toMillis(), TimeUnit.MILLISECONDS);
      return this;
    }
@ IgnoreJRERequirement public Builder pingInterval ( Duration duration ) { pingInterval = checkDuration ( "timeout" , duration . toMillis ( ) , TimeUnit . MILLISECONDS ) ; return this ; }
Sets the interval between HTTP/2 and web socket pings initiated by this client.
Sets the interval between HTTP / 2 and web socket pings initiated by this client .