API Docs for: 0.9.0
Show:

OutputHandler Class

This is an object used as the single pathway for data to leave a mojit action execution. It is used as a component of the ActionContext object, which uses it to call done and flush in order to complete.

There are two versions of this object, one for the client, and one for the server. This is the server version, which is more complex than the client version.

Constructor

OutputHandler

(
  • req
  • res
  • next
)

Parameters:

  • req Object

    The Request object.

  • res Object

    The Response object.

  • next Function

    The next function, which should be invokable.

Item Index