How to use the inversify-express-utils.BaseMiddleware function in inversify-express-utils

To help you get started, we’ve selected a few inversify-express-utils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sugoiJS / server / decorators / express-utils.decorator.js View on Github external
exports.httpPost = inversify_express_utils_1.httpPost;
exports.httpPatch = inversify_express_utils_1.httpPatch;
exports.httpHead = inversify_express_utils_1.httpHead;
exports.all = inversify_express_utils_1.all;
exports.httpDelete = inversify_express_utils_1.httpDelete;
exports.request = inversify_express_utils_1.request;
exports.response = inversify_express_utils_1.response;
exports.requestParam = inversify_express_utils_1.requestParam;
exports.queryParam = inversify_express_utils_1.queryParam;
exports.requestBody = inversify_express_utils_1.requestBody;
exports.requestHeaders = inversify_express_utils_1.requestHeaders;
exports.cookies = inversify_express_utils_1.cookies;
exports.next = inversify_express_utils_1.next;
exports.injectHttpContext = inversify_express_utils_1.injectHttpContext;
exports.getRouteInfo = inversify_express_utils_1.getRouteInfo;
exports.BaseMiddleware = inversify_express_utils_1.BaseMiddleware;
exports.BaseHttpController = inversify_express_utils_1.BaseHttpController;
exports.TYPE = inversify_express_utils_1.TYPE;