Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add decorator for RPC calls to ensure client has first obtained a connection #18

Closed
shonfeder opened this issue Jul 26, 2022 · 0 comments
Assignees

Comments

@shonfeder
Copy link
Contributor

With the exception of the initial rpc call, connect (which is really more an extension of the grpc protocol for us), all other rpc calls presuppose that the client has first obtained a connection identifying its session. To enforce this contract, we will add a simple decorator method which we can put on the RPC methods of the Chai class in order to enforce this contract.

@shonfeder shonfeder self-assigned this Jul 26, 2022
shonfeder pushed a commit that referenced this issue Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant