rsocket-kotlin icon indicating copy to clipboard operation
rsocket-kotlin copied to clipboard

RSocket Kotlin multi-platform implementation

Results 53 rsocket-kotlin issues
Sort by recently updated
recently updated
newest added

I use version 0.15.4 and I see a strange behavior when I use rsocket client for jvm. When client and server were connected thеn after 5 seconds client closes a...

## Motivation As of `0.15.4`, when the client loses the connection to the server, a ClosedReceiveChannelException is thrown in one of the client coroutines. It is propagated to the CoroutineExceptionHandler...

* Sample of simple RPC using rsocket-kotlin for client and server * Server and Client works on all platforms * Serialization using kx.serialization with example of using Json or ProtoBuf...

When using ktor with a `requestStream` handler like this ```kotlin fun Application.module() { install(WebSockets) install(RSocketSupport) { server = RSocketServer() } routing { rSocket("stream") { RSocketRequestHandler { log.info("New subscriber") requestStream {...

## Motivation Some errors have their stack traces incomplete, making them impossible to debug. Example: ``` 02-01 17:42:09.667 E [6652/6652] AndroidRuntime FATAL EXCEPTION: main 02-01 17:42:09.667 E [6652/6652] AndroidRuntime Process:...

It would be great if we could listen to the current connection state. ## Motivation Viewing the current connection state is important, especially when using the reconnect feature. This will...

Ktor's intergration completely hides DefaultWebSocketServerSession (which provides access to Ktor's sessions) from a RequestHandler Let's consider following case. An user logs into a ktor-based service. The service authorizes the user...

https://github.com/rsocket/rsocket/blob/master/Protocol.md#resuming-operation

On current moment `Payload` contains 2 properties `data` and `metadata` which can store bytes. The problem is, that those properties store `ByteReadPacket` which works like in-memory buffer. So f.e. to...

breaking-change

Out of https://stackoverflow.com/questions/67837839/is-it-possible-to-use-rsocket-in-android-with-kotlin We should provide a working example android test, similar to https://github.com/square/okhttp/tree/master/android-test

help wanted