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

Separate RPCHandler to PropertyHandler and ActionHandler #17

Open
4 tasks
VigneshVSV opened this issue Jul 27, 2024 · 0 comments
Open
4 tasks

Separate RPCHandler to PropertyHandler and ActionHandler #17

VigneshVSV opened this issue Jul 27, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@VigneshVSV
Copy link
Owner

VigneshVSV commented Jul 27, 2024

Currently, we have only one HTTP handler for property read-write and action execution called RPCHandler.

To support different HTTP headers for properties and actions separately, it would be useful to separate them. Further, this gives flexibility to the user who can subclass the handlers separately for properties and actions instead of a common RPC operation handler.

Possible steps

  • clearly define the headers for property execution and action execution
  • move similar routines to a base class
  • move non-similar routines to own PropertyHandler and ActionHandler

Further desirable activities

  • Document them, including how to overload
@VigneshVSV VigneshVSV added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant