@ Deprecated public final OkHttpChannelBuilder enableKeepAlive ( boolean enable ) { if ( enable ) { return keepAliveTime ( DEFAULT_KEEPALIVE_TIME_NANOS , TimeUnit . NANOSECONDS ) ; } else { return keepAliveTime ( KEEPALIVE_TIME_NANOS_DISABLED , TimeUnit . NANOSECONDS ) ; } }
Enable keepalive with default delay and timeout .