Client/server should exchange library version and/or protocol versions #557
brycekahle
started this conversation in
Ideas
Replies: 1 comment
-
I wonder if there's a way the iframe code could be made generic such that it doesn't need to match with the client version? Maybe it can delegate most of the logic to the main window instead. Or maybe the main window could send its own code to the iframe after initialization. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently the client and server don't communicate what library version and protocol version they are running/support. This information should be communicated, at a minimum from server to client, so the client can fail early if version compatibility is not possible.
Use cases
base_url
in theinfo
response to match the client. Server work might be needed for this logic to be possible.Server to Client
Easily accomplished by adding version(s) to
info
response.Client to Server
Logical place seems in the
info
request. Options are:?v=1.0.0-beta.6
. This has caching implications.info
request.Beta Was this translation helpful? Give feedback.
All reactions