HTTP response return() method.

The method is a shortcut for finalizing an HTTP request and is similar to nginx
return directive.

res.return(code[, text]):
    code - numeric status code.
    text - response body or redirect URI (for 3xx responses).
1 file changed
tree: 3df57480f6b68bfcdd956652c2f0d1227a1e0cdf
  1. .hgtags
  2. CHANGES
  3. LICENSE
  4. Makefile
  5. README
  6. configure
  7. nginx/
  8. njs/
  9. nxt/