AllenNeuralDynamics / AllenNeuralDynamics/one-liner
Support server-client connection validation with version checking
- 主要语言
- Python
- 星标
- 3
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
Currently, we can read versions of both `RouterClient` and the connected `RouterServer`, but we don't do any validation upon connecting. This is fundamentally hard because the underlying connections are done asyncrhonously with zmq. In other words, you can launch a client without any server connection, and vice versa.
One possible solution would be to add extra connection validation hooks. so that the user, at their own discretion, can do the validation before doing any further communication. Something like a `validate_server_version` from the client side. Even providing status information like `has_connected` from the client side could be useful.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。