Hi all. Is there any example/guidance on how to ha...
# kotlinx-rpc
x
Hi all. Is there any example/guidance on how to handle exceptions thrown from the transport layer? For example, whenever the client loses its connection to the server, i get this thrown
Copy code
E  FATAL EXCEPTION: main
Process: io.github.xxfast.sample, PID: 10381
java.io.EOFException
 at okio.RealBufferedSource.require(RealBufferedSource.kt:204)
 at okio.RealBufferedSource.readByte(RealBufferedSource.kt:214)
 at okhttp3.internal.ws.WebSocketReader.readHeader(WebSocketReader.kt:119)
a
Hi! Can you please provide a reproducer?