Kotlin / kotlinx-rpc

Add asynchronous RPC services to your multiplatform applications.
https://kotlin.github.io/kotlinx-rpc/
Apache License 2.0
702 stars 16 forks source link

Protocol features and handshake #26

Closed Mr3zee closed 7 months ago

Mr3zee commented 8 months ago

Problem Description There might be cases when client and server that should talk are different versions of the library and thus some protocol logic/features.

Solution Introduce handshake phase of the protocol, during which endpoints exchange lists of the plugins they support and then act accordingly

Details

Mr3zee commented 8 months ago

So, thanks to API dumps this review looks big again...

Where to look for juicy details:

Mr3zee commented 8 months ago

Good news: API tests are working and I was able to easily make sure that this change is backward compatible with old clients!