|
res.abort() Aborts the current transaction, immedately returns from the current code position and writes the response back to the client. Syntax
if (!userIsAuthorized()) {
res.write("no access");
res.abort();
}
// userIsAuthorized() == true
doPriviledgedPart();
... comment
|
navigation
Download
Community
Weblog
Mailing Lists
IRC Channel
Documentation
Introductions
Tools
Reference
Project
Roadmap
Bug Reporting
Source
Wiki
Tags
Updates
Related Projects
search
|
||||