Join Slack
Powered by
<How do I set the socketTimeout in ktor?> I tried ...
# stackoverflow
u
user
06/26/2022, 11:31 AM
How do I set the socketTimeout in ktor?
I tried val socket = aSocket(ActorSelectorManager(
Dispatchers.IO
)).tcp().configure { socketTimeout = 1000 } .connect("127.0.0.1", 2323) I can set other values like this but not the timeout. It's listed here
TCPClientSocketOptions
8
Views
Open in Slack
Previous
Next