Skip to main content

RespondWith

Just callback Web API Response.

...// example with status and headersapp.get("/hello", (rev) => {    return rev.respondWith(new Response("Hello", {        status: 200,        headers: new Headers({            'x-powered-by': 'nhttp'        })    }))})...