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

Implement PUSH mode VEN #7

Open
robogeek opened this issue Jun 22, 2022 · 0 comments
Open

Implement PUSH mode VEN #7

robogeek opened this issue Jun 22, 2022 · 0 comments

Comments

@robogeek
Copy link
Owner

robogeek commented Jun 22, 2022

This may be as simple as creating a function suitable as Express middleware which handles OpenADR URL's.

It is thought that OpenADRClient can supply a method, expressMiddleware, which can be used in an Express app like so:

app.use('/', VEN.expressMiddleware());

This allows for a trivial way of mounting the OpenADR service at a different URL.

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