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

Inject clear information about instance-, proxy- and client id into the proxy instance #49

Closed
bheisen opened this issue Sep 12, 2021 · 1 comment · Fixed by #50
Closed
Assignees
Labels
feature New feature or request

Comments

@bheisen
Copy link
Collaborator

bheisen commented Sep 12, 2021

Is your feature request related to a problem? Please describe.

When working in browser context it can be quite helpful to distinguish the different RPC requests triggered by user interaction. Most of the time we will have a proxy object in hand and hence it would be extremely useful to be able to access the information directly from there.

Describe the solution you'd like

Injecting the public variables:

vrpcClientId
vrpcInstanceId
vrpcProxyId

into the proxy instance.

Describe alternatives you've considered

Alternatively or better additionally the VRPC remote client could provide a public getter function for the vrpcClientId.

Additional context

The addition of the before mentioned properties should reflect non-breaking changes and could be simply added.

@bheisen bheisen added the feature New feature or request label Sep 12, 2021
@bheisen bheisen self-assigned this Sep 12, 2021
@create-issue-branch
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant