Response objects

    The method behaves very differently from how the method with the same name behaved in ArangoDB 2.x: the conversion now takes the response body definition of the route into account. There is a new method res.write that implements the old behavior.

    Note that consecutive calls to will append to the response body rather than replacing it like res.send.

    Old:

    New:

    The method now takes the signed options as part of the regular options object.

    Old: