Merge pull request #295 from blittle/master

Update restify definition
This commit is contained in:
Diullei Gomes 2013-02-17 12:56:29 -08:00
commit 7147d06d3e
2 changed files with 4 additions and 4 deletions

View File

@ -49,9 +49,9 @@ function send(req, res, next) {
req.contentLength === 50;
req.contentType === 'test';
req.href === 'test';
req.href() === 'test';
req.id === 'test';
req.path === 'test';
req.path() === 'test';
req.query === 'test';
req.secure === true;
req.time === 50;

View File

@ -16,10 +16,10 @@ interface Request {
getLogger: (component: string) => any;
contentLength: number;
contentType: string;
href: string;
href: () => string;
log: Object;
id: string;
path: string;
path: () => string;
query: string;
secure: bool;
time: number;