middlewares
- Description:
Middlewares namespace. Provides middlewares for expressjs.
- Source:
Members
(static, constant) exports.requireHeader
- Description:
Require header in request.
- Source:
Require header in request.
(static, constant) exports.replaceSpaceHyphenWithUnderscore
- Description:
Replace all spaces and hyphens with underscores in headers.
- Source:
Replace all spaces and hyphens with underscores in headers.
(static, constant) exports.formatOrgs
- Description:
Formats header X-OPENHAB-ORG from String to Array
. Must not be applied before middlewares.replaceSpaceHyphenWithUnderscore
!
- Source:
Formats header X-OPENHAB-ORG from String to Arraymiddlewares.replaceSpaceHyphenWithUnderscore
!