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.
This may be as simple as creating a function suitable as Express middleware which handles OpenADR URL's.
It is thought that
OpenADRClientcan supply a method,expressMiddleware, which can be used in an Express app like so:This allows for a trivial way of mounting the OpenADR service at a different URL.