In nodejs applications i found method-override module and the project which i am studing contains this code
var methodOverride=require('method-override');
and after creating rest server
rest.use(methodOverride())
It seems like it is a middleware. But my question is there we are not passing any arguments. Then what actually it does ?