UNPKG

toki-hapi-bridge

Version:

hapijs plugin for bridging into the toki core runtime

28 lines (19 loc) 309 B
'use strict'; const response = { code: (status) => { return status; }, header: (header) => { return header; } }; const reply = function (payload) { return response; }; reply.continue = function () { return true; }; module.exports = { reply, response };