Created
May 28, 2021 00:17
-
-
Save victorbrndls/366e0d009ad1f34be1f5063d410c34f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val channelWithKeepAlive = AndroidChannelBuilder | |
.forAddress("127.0.0.1", 9090) | |
.keepAliveTime(20, TimeUnit.SECONDS) | |
.keepAliveTimeout(5, TimeUnit.SECONDS) | |
.build() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment