Expose isSecure function through request interface

This commit is contained in:
Eric Lu
2015-02-09 12:29:46 -08:00
parent e53e146af4
commit 188590dce9

View File

@@ -34,6 +34,7 @@ declare module "restify" {
params: any;
body?: any; //available when bodyParser plugin is used
isSecure: () => boolean;
}
interface Response extends http.ServerResponse {