0
  1. Socket Not working if we import controller from inversify but if we import the controller from inversify-socket-util it is works.
  2. unable to apply middleware in controller if we import controller from inversify-socket-util
  3. not works rest of the controller if we import controller from inversify-socket-util

(e.g) socket not work mentioned in 1st issue above import { interfaces, controller, httpGet, request, response, httpPost } from "inversify-express-utils"; @controller('/following', SITE_MAINTENANCE)

socket will work but rest of the code dont and occurs 2 and 3rd issue above import { interfaces, httpGet, request, response, httpPost } from "inversify-express-utils"; import { controller } from "inversify-socket-utils";

@controller('/following')

  • currently I have used inversify-express-util for my whole app. so that I try to implement inversify-socket-util package.

  • is there any working code for inversify-socket-util kindly share for the reference

I need any working example code for socket using inversify-socket-util package with some controller class.

0 Answers0