Module: controllers

Controllers execute actions on routed messages.

A controller performs controls on incoming parameters, executes the requested action and send a response to the client.

Properties:
Name Type Description
Controller module:controllers/Controller

Controller module

HttpController module:controllers/HttpController

HttpController module

EntityController module:controllers/EntityController

EntityController module

ContentController module:controllers/ContentController

ContentController module

SocketController module:controllers/SocketController

SocketController module

httpErrors module:controllers/httpErrors

httpErrors module

Source:
Example
// Load module "controllers"
var controllers = require('@openveo/api').controllers;