n0-computer/quic-rpc

Version enforcement

rklaehn opened this issue · 1 comments

We don't do versioning. But we should have optional version enforcement. You should be able to set it up so that quic-rpc will refuse to connect to an endpoint that has a different version (e.g. git commit hash) of the protocol.

On further consideration, it is probably best to just leave this up to the user.

Maybe just have 1 additional error case for the RpcClientError or RpcServerError like ProtocolMismatch and leave the rest to the socket opener...